summaryrefslogtreecommitdiff
path: root/xfixes
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2012-07-10 02:02:56 +0100
committerKeith Packard <keithp@keithp.com>2012-07-09 23:06:41 -0700
commita1d41e311c21eb6627caa0d168e070ceaf90806f (patch)
treeb0df47d2426c60005c136859c0a3fe8abef73dd7 /xfixes
parentb86aa74cafddf9bca5addfeb458a23f46ddcf132 (diff)
Move extension initialisation prototypes into extinit.h
Create extinit.h (and xf86Extensions.h, for Xorg-specific extensions) to hold all our extension initialisation prototypes, rather than duplicating them everywhere. Signed-off-by: Daniel Stone <daniel@fooishbar.org> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'xfixes')
-rw-r--r--xfixes/xfixes.c1
-rw-r--r--xfixes/xfixesint.h5
2 files changed, 1 insertions, 5 deletions
diff --git a/xfixes/xfixes.c b/xfixes/xfixes.c
index c6dd19eb3..52c57dfab 100644
--- a/xfixes/xfixes.c
+++ b/xfixes/xfixes.c
@@ -48,6 +48,7 @@
#include "xfixesint.h"
#include "protocol-versions.h"
+#include "extinit.h"
static unsigned char XFixesReqCode;
int XFixesEventBase;
diff --git a/xfixes/xfixesint.h b/xfixes/xfixesint.h
index 71f88a93d..334c71fbf 100644
--- a/xfixes/xfixesint.h
+++ b/xfixes/xfixesint.h
@@ -71,11 +71,6 @@ typedef struct _XFixesClient {
extern int (*ProcXFixesVector[XFixesNumberRequests]) (ClientPtr);
-/* Initialize extension at server startup time */
-
-void
- XFixesExtensionInit(void);
-
/* Save set */
int
ProcXFixesChangeSaveSet(ClientPtr client);