diff options
author | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-26 22:48:20 +0000 |
---|---|---|
committer | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-26 22:48:20 +0000 |
commit | 8636e5cc7ce7ce5ac913e6a59e2a8e1ea9065b1e (patch) | |
tree | f276c3a252afb26db23814413a7a7f5d4d486296 /include/X11/xpm.h | |
parent | aafaabc4a0bfab6544e085ee504ad69de4a5ddb1 (diff) |
merge latest (4.3.99.16) from XFree86 (vendor) branchXORG-RELEASE-1-BASEXEVIE-MERGEXEVIE-BASEXINERAMA_2XEVIE
Diffstat (limited to 'include/X11/xpm.h')
-rw-r--r-- | include/X11/xpm.h | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/include/X11/xpm.h b/include/X11/xpm.h index 786f3c3..8895323 100644 --- a/include/X11/xpm.h +++ b/include/X11/xpm.h @@ -22,7 +22,7 @@ * used in advertising or otherwise to promote the sale, use or other dealings * in this Software without prior written authorization from GROUPE BULL. */ -/* $XFree86: xc/extras/Xpm/lib/xpm.h,v 1.2 2001/08/22 23:36:44 dawes Exp $ */ +/* $XFree86: xc/extras/Xpm/lib/xpm.h,v 1.3 2003/11/17 22:20:02 dawes Exp $ */ /*****************************************************************************\ * xpm.h: * @@ -85,16 +85,6 @@ typedef unsigned long Pixel; /* Index into colormap */ # define PIXEL_ALREADY_TYPEDEFED #endif -/* make sure we know whether function prototypes are needed or not */ -#ifndef NeedFunctionPrototypes -# if defined(__STDC__) || defined(__cplusplus) || defined(c_plusplus) -# define NeedFunctionPrototypes 1 -# else -# define NeedFunctionPrototypes 0 -# endif -#endif - - /* Return ErrorStatus codes: * null if full success * positive if partial success @@ -150,23 +140,19 @@ typedef struct { } XpmInfo; typedef int (*XpmAllocColorFunc)( -#if NeedFunctionPrototypes Display* /* display */, Colormap /* colormap */, char* /* colorname */, XColor* /* xcolor */, void* /* closure */ -#endif ); typedef int (*XpmFreeColorsFunc)( -#if NeedFunctionPrototypes Display* /* display */, Colormap /* colormap */, Pixel* /* pixels */, int /* npixels */, void* /* closure */ -#endif ); typedef struct { @@ -290,13 +276,8 @@ typedef struct { /* macros for forward declarations of functions with prototypes */ -#if NeedFunctionPrototypes #define FUNC(f, t, p) extern t f p #define LFUNC(f, t, p) static t f p -#else -#define FUNC(f, t, p) extern t f() -#define LFUNC(f, t, p) static t f() -#endif /* |