mirror of
https://github.com/X11Libre/xf86-video-qxl.git
synced 2026-03-24 01:24:24 +00:00
Make some function static
Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Christophe Fergeau <cfergeau@redhat.com>
This commit is contained in:
committed by
Christophe Fergeau
parent
aa4359f894
commit
0e86e9d267
@@ -53,6 +53,8 @@ typedef struct _dfps_info_t
|
||||
GCPtr pgc;
|
||||
} dfps_info_t;
|
||||
|
||||
static void dfps_ticker(void *opaque);
|
||||
|
||||
static inline dfps_info_t *dfps_get_info (PixmapPtr pixmap)
|
||||
{
|
||||
#if HAS_DEVPRIVATEKEYREC
|
||||
@@ -104,7 +106,7 @@ void dfps_start_ticker(qxl_screen_t *qxl)
|
||||
timer_start(qxl->frames_timer, 1000 / qxl->deferred_fps);
|
||||
}
|
||||
|
||||
void dfps_ticker(void *opaque)
|
||||
static void dfps_ticker(void *opaque)
|
||||
{
|
||||
qxl_screen_t *qxl = (qxl_screen_t *) opaque;
|
||||
dfps_info_t *info = NULL;
|
||||
|
||||
@@ -23,5 +23,4 @@
|
||||
*/
|
||||
|
||||
void dfps_start_ticker(qxl_screen_t *qxl);
|
||||
void dfps_ticker(void *opaque);
|
||||
void dfps_set_uxa_functions(qxl_screen_t *qxl, ScreenPtr screen);
|
||||
|
||||
@@ -582,9 +582,6 @@ struct qxl_mem * qxl_mem_create (void *base,
|
||||
void qxl_mem_dump_stats (struct qxl_mem *mem,
|
||||
const char *header);
|
||||
void qxl_mem_free_all (struct qxl_mem *mem);
|
||||
void * qxl_allocnf (qxl_screen_t *qxl,
|
||||
unsigned long size,
|
||||
const char * name);
|
||||
int qxl_garbage_collect (qxl_screen_t *qxl);
|
||||
|
||||
void qxl_reset_and_create_mem_slots (qxl_screen_t *qxl);
|
||||
|
||||
@@ -404,7 +404,7 @@ qxl_handle_oom (qxl_screen_t *qxl)
|
||||
return qxl_garbage_collect (qxl);
|
||||
}
|
||||
|
||||
void *
|
||||
static void *
|
||||
qxl_allocnf (qxl_screen_t *qxl, unsigned long size, const char *name)
|
||||
{
|
||||
void *result;
|
||||
|
||||
Reference in New Issue
Block a user