present: static cleanup

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
Adam Jackson 2014-10-22 10:31:29 -04:00
parent 0db457b2b5
commit c732bb2799
3 changed files with 3 additions and 5 deletions

View File

@ -26,7 +26,7 @@
#include "present_priv.h" #include "present_priv.h"
RESTYPE present_event_type; static RESTYPE present_event_type;
static int static int
present_free_event(void *data, XID id) present_free_event(void *data, XID id)

View File

@ -147,8 +147,6 @@ present_window_priv(WindowPtr window)
present_window_priv_ptr present_window_priv_ptr
present_get_window_priv(WindowPtr window, Bool create); present_get_window_priv(WindowPtr window, Bool create);
extern RESTYPE present_event_type;
/* /*
* present.c * present.c
*/ */

View File

@ -234,7 +234,7 @@ proc_present_query_capabilities (ClientPtr client)
return Success; return Success;
} }
int (*proc_present_vector[PresentNumberRequests]) (ClientPtr) = { static int (*proc_present_vector[PresentNumberRequests]) (ClientPtr) = {
proc_present_query_version, /* 0 */ proc_present_query_version, /* 0 */
proc_present_pixmap, /* 1 */ proc_present_pixmap, /* 1 */
proc_present_notify_msc, /* 2 */ proc_present_notify_msc, /* 2 */
@ -319,7 +319,7 @@ sproc_present_query_capabilities (ClientPtr client)
return (*proc_present_vector[stuff->presentReqType]) (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_query_version, /* 0 */
sproc_present_pixmap, /* 1 */ sproc_present_pixmap, /* 1 */
sproc_present_notify_msc, /* 2 */ sproc_present_notify_msc, /* 2 */