Use X extern "C" guards around function declarations for public header

master
Dan Nicholson 2009-03-17 06:19:56 -07:00
parent 433a405c98
commit 4859304f65
1 changed files with 5 additions and 0 deletions

View File

@ -30,6 +30,7 @@ authorization from the authors.
#include <X11/X.h>
#include <X11/Xdefs.h>
#include <X11/Xfuncproto.h>
#include <X11/keysymdef.h>
#include <X11/extensions/XKBstrcommon.h>
#include <X11/extensions/XKBgeomcommon.h>
@ -51,6 +52,8 @@ typedef struct _XkbcDesc {
XkbGeometryPtr geom;
} XkbcDescRec, *XkbcDescPtr;
_XFUNCPROTOBEGIN
extern char *
XkbcKeysymToString(KeySym ks);
@ -155,4 +158,6 @@ XkbcAtomGetString(Atom atom);
extern Atom
XkbcInternAtom(char *name, Bool onlyIfExists);
_XFUNCPROTOEND
#endif /* _XKBCOMMON_H_ */