summaryrefslogtreecommitdiff
path: root/composite
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 /composite
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 'composite')
-rw-r--r--composite/compext.c1
-rw-r--r--composite/compint.h7
2 files changed, 1 insertions, 7 deletions
diff --git a/composite/compext.c b/composite/compext.c
index eea1a5861..8641eff5e 100644
--- a/composite/compext.c
+++ b/composite/compext.c
@@ -48,6 +48,7 @@
#include "compint.h"
#include "xace.h"
#include "protocol-versions.h"
+#include "extinit.h"
static CARD8 CompositeReqCode;
static DevPrivateKeyRec CompositeClientPrivateKeyRec;
diff --git a/composite/compint.h b/composite/compint.h
index 30b724e3e..45b5824a9 100644
--- a/composite/compint.h
+++ b/composite/compint.h
@@ -229,13 +229,6 @@ compReallocPixmap(WindowPtr pWin, int x, int y,
unsigned int w, unsigned int h, int bw);
/*
- * compext.c
- */
-
-void
- CompositeExtensionInit(void);
-
-/*
* compinit.c
*/