From: Dan Nicholson Date: Tue, 17 Mar 2009 13:19:56 +0000 (-0700) Subject: Use X extern "C" guards around function declarations for public header X-Git-Tag: xkbcommon-0.2.0~984 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4859304f6531b6bd5aa28ec0fb25ee3f537e8f48;p=platform%2Fupstream%2Flibxkbcommon.git Use X extern "C" guards around function declarations for public header --- diff --git a/include/X11/extensions/XKBcommon.h b/include/X11/extensions/XKBcommon.h index 253914c..7f98287 100644 --- a/include/X11/extensions/XKBcommon.h +++ b/include/X11/extensions/XKBcommon.h @@ -30,6 +30,7 @@ authorization from the authors. #include #include +#include #include #include #include @@ -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_ */