summaryrefslogtreecommitdiff
path: root/damageext
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 /damageext
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 'damageext')
-rw-r--r--damageext/Makefile.am1
-rw-r--r--damageext/damageext.c1
-rw-r--r--damageext/damageextint.h1
3 files changed, 1 insertions, 2 deletions
diff --git a/damageext/Makefile.am b/damageext/Makefile.am
index 35f7620fb..4d4cf4478 100644
--- a/damageext/Makefile.am
+++ b/damageext/Makefile.am
@@ -4,5 +4,4 @@ AM_CFLAGS = $(DIX_CFLAGS)
libdamageext_la_SOURCES = \
damageext.c \
- damageext.h \
damageextint.h
diff --git a/damageext/damageext.c b/damageext/damageext.c
index 222643cc6..a942ffa68 100644
--- a/damageext/damageext.c
+++ b/damageext/damageext.c
@@ -26,6 +26,7 @@
#include "damageextint.h"
#include "protocol-versions.h"
+#include "extinit.h"
static unsigned char DamageReqCode;
static int DamageEventBase;
diff --git a/damageext/damageextint.h b/damageext/damageextint.h
index b7e63e077..272337922 100644
--- a/damageext/damageextint.h
+++ b/damageext/damageextint.h
@@ -37,7 +37,6 @@
#include "windowstr.h"
#include "selection.h"
#include "scrnintstr.h"
-#include "damageext.h"
#include "damage.h"
#include "xfixes.h"