mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-22 20:35:43 +00:00
devPrivates rework: move reset functions into a single call.
This commit is contained in:
parent
bb111291d8
commit
aaef4d6a41
6 changed files with 27 additions and 31 deletions
|
|
@ -591,8 +591,6 @@ void
|
|||
ScreenRestructured (ScreenPtr pScreen);
|
||||
#endif
|
||||
|
||||
extern void ResetClientPrivates(void);
|
||||
|
||||
extern int AllocateClientPrivateIndex(void);
|
||||
|
||||
extern Bool AllocateClientPrivate(
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue