diff options
author | Eamon Walsh <ewalsh@tycho.nsa.gov> | 2007-04-17 12:10:22 -0400 |
---|---|---|
committer | Eamon Walsh <ewalsh@moss-uranus.epoch.ncsc.mil> | 2007-04-17 12:10:22 -0400 |
commit | 1f06d32ef58749d0f0c062193d237ee98f60e90f (patch) | |
tree | 6130443e4804582e79b5000949bfdd186da44ed1 /dix/privates.c | |
parent | cf962a849db2b259ca558c6265ea7e3328a4d312 (diff) | |
parent | fc162c6cfa06f0b012743d6d79cef45cf0166229 (diff) |
Merge branch 'master' into XACE-SELINUX
Conflicts:
dix/privates.c
Diffstat (limited to 'dix/privates.c')
-rw-r--r-- | dix/privates.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/dix/privates.c b/dix/privates.c index 4cb2e358d..f2f1c49ee 100644 --- a/dix/privates.c +++ b/dix/privates.c @@ -293,7 +293,7 @@ unsigned *extensionPrivateSizes; unsigned totalExtensionSize; static int -ResetExtensionPrivates() +ResetExtensionPrivates(void) { extensionPrivateCount = 1; extensionPrivateLen = 1; @@ -306,7 +306,7 @@ ResetExtensionPrivates() } _X_EXPORT int -AllocateExtensionPrivateIndex() +AllocateExtensionPrivateIndex(void) { return extensionPrivateCount++; } @@ -352,7 +352,7 @@ unsigned *clientPrivateSizes; unsigned totalClientSize; static int -ResetClientPrivates() +ResetClientPrivates(void) { clientPrivateCount = 1; clientPrivateLen = 1; @@ -365,7 +365,7 @@ ResetClientPrivates() } _X_EXPORT int -AllocateClientPrivateIndex() +AllocateClientPrivateIndex(void) { return clientPrivateCount++; } @@ -408,7 +408,7 @@ AllocateClientPrivate(int index2, unsigned amount) int screenPrivateCount; static void -ResetScreenPrivates() +ResetScreenPrivates(void) { screenPrivateCount = 1; } @@ -417,7 +417,7 @@ ResetScreenPrivates() * so we have to worry about resizing existing devPrivates */ _X_EXPORT int -AllocateScreenPrivateIndex() +AllocateScreenPrivateIndex(void) { int idx; int i; @@ -450,13 +450,13 @@ AllocateScreenPrivateIndex() static int windowPrivateCount; static void -ResetWindowPrivates() +ResetWindowPrivates(void) { windowPrivateCount = 1; } _X_EXPORT int -AllocateWindowPrivateIndex() +AllocateWindowPrivateIndex(void) { return windowPrivateCount++; } @@ -500,13 +500,13 @@ AllocateWindowPrivate(ScreenPtr pScreen, int index2, unsigned amount) static int gcPrivateCount; static void -ResetGCPrivates() +ResetGCPrivates(void) { gcPrivateCount = 1; } _X_EXPORT int -AllocateGCPrivateIndex() +AllocateGCPrivateIndex(void) { return gcPrivateCount++; } @@ -549,13 +549,13 @@ AllocateGCPrivate(ScreenPtr pScreen, int index2, unsigned amount) static int pixmapPrivateCount; static void -ResetPixmapPrivates() +ResetPixmapPrivates(void) { pixmapPrivateCount = 1; } _X_EXPORT int -AllocatePixmapPrivateIndex() +AllocatePixmapPrivateIndex(void) { return pixmapPrivateCount++; } @@ -600,7 +600,7 @@ AllocatePixmapPrivate(ScreenPtr pScreen, int index2, unsigned amount) int colormapPrivateCount; static void -ResetColormapPrivates() +ResetColormapPrivates(void) { colormapPrivateCount = 1; } @@ -661,7 +661,7 @@ AllocateColormapPrivateIndex (InitCmapPrivFunc initPrivFunc) static int devicePrivateIndex = 0; _X_EXPORT int -AllocateDevicePrivateIndex() +AllocateDevicePrivateIndex(void) { return devicePrivateIndex++; } |