summaryrefslogtreecommitdiff
path: root/include/screenint.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/screenint.h')
-rw-r--r--include/screenint.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/screenint.h b/include/screenint.h
index f4eb79725..c4ad2a627 100644
--- a/include/screenint.h
+++ b/include/screenint.h
@@ -45,6 +45,7 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
******************************************************************/
+/* $XFree86: xc/programs/Xserver/include/screenint.h,v 1.5 2001/12/14 19:59:56 dawes Exp $ */
#ifndef SCREENINT_H
#define SCREENINT_H
@@ -153,7 +154,12 @@ extern void ResetColormapPrivates(
);
-typedef int (*InitCmapPrivFunc)(/* ColormapPtr */);
+typedef struct _ColormapRec *ColormapPtr;
+typedef int (*InitCmapPrivFunc)(
+#if NeedNestedPrototypes
+ ColormapPtr
+#endif
+);
extern int AllocateColormapPrivateIndex(
#if NeedFunctionPrototypes