From 0f8da82500ec542e269092c0718479e25eaff5f6 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Tue, 31 Mar 2015 22:32:11 +0100 Subject: drm: remove drm_public macro MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Some compilers (like the Oracle Studio), require that the function declaration must be annotated with the same visibility attribute as the definition. As annotating functions with drm_public is no longer required just remove the macro. Cc: Ben Skeggs Cc: Damien Lespiau Cc: Maarten Lankhorst Cc: Michel Dänzer Cc: Rob Clark Cc: Thierry Reding Signed-off-by: Emil Velikov --- freedreno/freedreno_pipe.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'freedreno/freedreno_pipe.c') diff --git a/freedreno/freedreno_pipe.c b/freedreno/freedreno_pipe.c index 54e957b5..b6fed0a4 100644 --- a/freedreno/freedreno_pipe.c +++ b/freedreno/freedreno_pipe.c @@ -33,7 +33,7 @@ #include "freedreno_drmif.h" #include "freedreno_priv.h" -drm_public struct fd_pipe * +struct fd_pipe * fd_pipe_new(struct fd_device *dev, enum fd_pipe_id id) { struct fd_pipe *pipe = NULL; @@ -59,18 +59,18 @@ fail: return NULL; } -drm_public void fd_pipe_del(struct fd_pipe *pipe) +void fd_pipe_del(struct fd_pipe *pipe) { pipe->funcs->destroy(pipe); } -drm_public int fd_pipe_get_param(struct fd_pipe *pipe, +int fd_pipe_get_param(struct fd_pipe *pipe, enum fd_param_id param, uint64_t *value) { return pipe->funcs->get_param(pipe, param, value); } -drm_public int fd_pipe_wait(struct fd_pipe *pipe, uint32_t timestamp) +int fd_pipe_wait(struct fd_pipe *pipe, uint32_t timestamp) { return pipe->funcs->wait(pipe, timestamp); } -- cgit v1.2.3