diff options
author | Daniel Stone <daniel@fooishbar.org> | 2012-07-10 02:02:56 +0100 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2012-07-09 23:06:41 -0700 |
commit | a1d41e311c21eb6627caa0d168e070ceaf90806f (patch) | |
tree | b0df47d2426c60005c136859c0a3fe8abef73dd7 /randr | |
parent | b86aa74cafddf9bca5addfeb458a23f46ddcf132 (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.c | 1 | ||||
-rw-r--r-- | randr/randrstr.h | 4 |
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 |