summaryrefslogtreecommitdiff
path: root/src/IntAtom.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/IntAtom.c')
-rw-r--r--src/IntAtom.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/IntAtom.c b/src/IntAtom.c
index 237b6702..106ce69f 100644
--- a/src/IntAtom.c
+++ b/src/IntAtom.c
@@ -26,7 +26,7 @@ other dealings in this Software without prior written authorization
from The Open Group.
*/
-/* $XFree86: xc/lib/X11/IntAtom.c,v 1.6 2001/12/14 19:54:02 dawes Exp $ */
+/* $XFree86: xc/lib/X11/IntAtom.c,v 1.7 2003/11/17 22:20:07 dawes Exp $ */
#define NEED_REPLIES
#include "Xlibint.h"
@@ -159,17 +159,11 @@ _XUpdateAtomCache(dpy, name, atom, sig, idx, n)
}
}
-#if NeedFunctionPrototypes
-Atom XInternAtom (
+Atom
+XInternAtom (
Display *dpy,
const char *name,
Bool onlyIfExists)
-#else
-Atom XInternAtom (dpy, name, onlyIfExists)
- Display *dpy;
- char *name;
- Bool onlyIfExists;
-#endif
{
Atom atom;
unsigned long sig;