diff options
author | Adam Jackson <ajax@redhat.com> | 2014-10-22 10:31:29 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2015-07-08 16:40:57 -0400 |
commit | c732bb2799ad7ff6b0cdd9c65487466e6a9b76e7 (patch) | |
tree | 9cdcf405437a35e630b5e5e0af27075b7bcd7b03 /present | |
parent | 0db457b2b5b6e314e912efc62f158f8f0b8d48af (diff) |
present: static cleanup
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'present')
-rw-r--r-- | present/present_event.c | 2 | ||||
-rw-r--r-- | present/present_priv.h | 2 | ||||
-rw-r--r-- | present/present_request.c | 4 |
3 files changed, 3 insertions, 5 deletions
diff --git a/present/present_event.c b/present/present_event.c index d3a59ea25..c586c9a60 100644 --- a/present/present_event.c +++ b/present/present_event.c @@ -26,7 +26,7 @@ #include "present_priv.h" -RESTYPE present_event_type; +static RESTYPE present_event_type; static int present_free_event(void *data, XID id) diff --git a/present/present_priv.h b/present/present_priv.h index f5c1652d1..996292e94 100644 --- a/present/present_priv.h +++ b/present/present_priv.h @@ -147,8 +147,6 @@ present_window_priv(WindowPtr window) present_window_priv_ptr present_get_window_priv(WindowPtr window, Bool create); -extern RESTYPE present_event_type; - /* * present.c */ diff --git a/present/present_request.c b/present/present_request.c index 7c53e7262..35320b64e 100644 --- a/present/present_request.c +++ b/present/present_request.c @@ -234,7 +234,7 @@ proc_present_query_capabilities (ClientPtr client) return Success; } -int (*proc_present_vector[PresentNumberRequests]) (ClientPtr) = { +static int (*proc_present_vector[PresentNumberRequests]) (ClientPtr) = { proc_present_query_version, /* 0 */ proc_present_pixmap, /* 1 */ proc_present_notify_msc, /* 2 */ @@ -319,7 +319,7 @@ sproc_present_query_capabilities (ClientPtr client) return (*proc_present_vector[stuff->presentReqType]) (client); } -int (*sproc_present_vector[PresentNumberRequests]) (ClientPtr) = { +static int (*sproc_present_vector[PresentNumberRequests]) (ClientPtr) = { sproc_present_query_version, /* 0 */ sproc_present_pixmap, /* 1 */ sproc_present_notify_msc, /* 2 */ |