Remove Xfuncproto.h and XKB.h from xkbcommon/xkbcommon.h
authorRan Benita <ran234@gmail.com>
Thu, 5 Apr 2012 07:47:43 +0000 (10:47 +0300)
committerDaniel Stone <daniel@fooishbar.org>
Mon, 9 Apr 2012 13:04:11 +0000 (14:04 +0100)
commit18e6a6a43e4e4711eedc149875c064f3582948a7
treea702ae1ed0a89196d1516237cc46f346bafca674
parent073a21076c44aecb5439ce3cf884b3c04079d14c
Remove Xfuncproto.h and XKB.h from xkbcommon/xkbcommon.h

The kbproto header is already not needed here anymore.

Move the _X_EXPORT's to the corresponding function definitions, and use
straight extern "C" clauses instead of _XFUNCPROTOBEGIN/END.

It also makes more sense to have the EXPORT's in the source files, as it
provides some documentation to the reader, whereas in the header it's
obvious.

Signed-off-by: Ran Benita <ran234@gmail.com>
[daniels: Updated for xkb_keymap changes.]
include/xkbcommon/xkbcommon.h
src/XKBcommonint.h
src/context.c
src/keysym.c
src/map.c
src/state.c
src/xkb.c
src/xkbcomp/xkbcomp.c
src/xkbmisc.h