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>
This commit is contained in:
Daniel Stone 2012-07-10 02:02:56 +01:00 • committed by Keith Packard
commit a1d41e311c
65 changed files with 264 additions and 274 deletions

View file

@ -42,6 +42,7 @@
#include <X11/Xproto.h>
#include "scrnintstr.h"
#include "extnsionst.h"
#include "extinit.h"
#include "gcstruct.h"
#include "dixstruct.h"
#define NEED_DBE_PROTOCOL

View file

@ -83,8 +83,6 @@ typedef struct {
/* Marker for free elements in the buffer ID array. */
#define DBE_FREE_ID_ELEMENT 0
extern _X_EXPORT void DbeExtensionInit(void);
/* TYPEDEFS */
/* Record used to pass swap information between DIX and DDX swapping