mirror of
https://gitlab.freedesktop.org/xorg/lib/libx11.git
synced 2026-05-22 11:38:15 +02:00
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>
33 lines
578 B
C
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_ */
|