summaryrefslogtreecommitdiff
path: root/randr
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 /randr
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 'randr')
-rw-r--r--randr/randr.c1
-rw-r--r--randr/randrstr.h4
2 files changed, 1 insertions, 4 deletions
diff --git a/randr/randr.c b/randr/randr.c
index 3050c54fe..da48c3f06 100644
--- a/randr/randr.c
+++ b/randr/randr.c
@@ -30,6 +30,7 @@
#endif
#include "randrstr.h"
+#include "extinit.h"
/* From render.h */
#ifndef SubPixelUnknown
diff --git a/randr/randrstr.h b/randr/randrstr.h
index 62b9050e9..212b0a9be 100644
--- a/randr/randrstr.h
+++ b/randr/randrstr.h
@@ -418,10 +418,6 @@ extern _X_EXPORT RESTYPE RRCrtcType, RRModeType, RROutputType, RRProviderType;
#define GetRRClient(pClient) ((RRClientPtr)dixLookupPrivate(&(pClient)->devPrivates, RRClientPrivateKey))
#define rrClientPriv(pClient) RRClientPtr pRRClient = GetRRClient(pClient)
-/* Initialize the extension */
-extern _X_EXPORT void
- RRExtensionInit(void);
-
#ifdef RANDR_12_INTERFACE
/*
* Set the range of sizes for the screen