Commit 0e86e9d2 authored by Frediano Ziglio's avatar Frediano Ziglio Committed by Christophe Fergeau

Make some function static

Signed-off-by: Frediano Ziglio's avatarFrediano Ziglio <fziglio@redhat.com>
Acked-by: Christophe Fergeau's avatarChristophe Fergeau <cfergeau@redhat.com>
parent aa4359f8
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment