xorg-libx11/src/Xintatom.h
Niveditha Rau 7e30056e78 Make sure internal headers include required headers
Fixes builds with Solaris Studio 12.3 when lint is enabled, since it no
longer ignores *.h files, but complains when they reference undefined
typedefs or macros.

Signed-off-by: Niveditha Rau <Niveditha.Rau@Oracle.COM>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-05-17 15:27:31 -07:00

33 lines
578 B
C

#ifndef _XINTATOM_H_
#define _XINTATOM_H_ 1
#include <X11/Xlib.h>
#include <X11/Xfuncproto.h>
/* IntAtom.c */
#define TABLESIZE 64
typedef struct _Entry {
unsigned long sig;
Atom atom;
} EntryRec, *Entry;
#define RESERVED ((Entry) 1)
#define EntryName(e) ((char *)(e+1))
typedef struct _XDisplayAtoms {
Entry table[TABLESIZE];
} AtomTable;
_XFUNCPROTOBEGIN
extern void _XUpdateAtomCache(Display *dpy, const char *name, Atom atom,
unsigned long sig, int idx, int n);
extern void _XFreeAtomTable(Display *dpy);
_XFUNCPROTOEND
#endif /* _XINTATOM_H_ */