devPrivates rework: move reset functions into a single call.

This commit is contained in:
Eamon Walsh 2007-03-07 09:57:02 -05:00 committed by Eamon Walsh
commit aaef4d6a41
6 changed files with 27 additions and 31 deletions

View file

@ -591,8 +591,6 @@ void
ScreenRestructured (ScreenPtr pScreen);
#endif
extern void ResetClientPrivates(void);
extern int AllocateClientPrivateIndex(void);
extern Bool AllocateClientPrivate(

View file

@ -58,8 +58,6 @@ extern Bool EnableDisableExtension(char *name, Bool enable);
extern void EnableDisableExtensionError(char *name, Bool enable);
extern void ResetExtensionPrivates(void);
extern int AllocateExtensionPrivateIndex(void);
extern Bool AllocateExtensionPrivate(

View file

@ -160,7 +160,6 @@ typedef struct {
extern int AllocateDevicePrivateIndex(void);
extern Bool AllocateDevicePrivate(DeviceIntPtr device, int index);
extern void ResetDevicePrivateIndex(void);
extern KeybdCtrl defaultKeyboardControl;
extern PtrCtrl defaultPointerControl;

View file

@ -55,12 +55,8 @@ typedef struct _Visual *VisualPtr;
typedef struct _Depth *DepthPtr;
typedef struct _Screen *ScreenPtr;
extern void ResetScreenPrivates(void);
extern int AllocateScreenPrivateIndex(void);
extern void ResetWindowPrivates(void);
extern int AllocateWindowPrivateIndex(void);
extern Bool AllocateWindowPrivate(
@ -68,8 +64,6 @@ extern Bool AllocateWindowPrivate(
int /* index */,
unsigned /* amount */);
extern void ResetGCPrivates(void);
extern int AllocateGCPrivateIndex(void);
extern Bool AllocateGCPrivate(
@ -86,8 +80,6 @@ extern int AddScreen(
int /*argc*/,
char** /*argv*/);
extern void ResetPixmapPrivates(void);
extern int AllocatePixmapPrivateIndex(void);
extern Bool AllocatePixmapPrivate(
@ -95,8 +87,6 @@ extern Bool AllocatePixmapPrivate(
int /* index */,
unsigned /* amount */);
extern void ResetColormapPrivates(void);
typedef struct _ColormapRec *ColormapPtr;
typedef int (*InitCmapPrivFunc)(ColormapPtr, int);