diff options
author | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2009-01-30 19:27:47 -0200 |
---|---|---|
committer | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2009-01-30 19:27:47 -0200 |
commit | 0fe78008d234d5f87e09588f5fabb7231882019f (patch) | |
tree | f168e7937e0aceb5855a5f7372e845c7fe85042b /xtraplibp.h | |
parent | 905d83be89b54fbe54762f9cba592edf40bd26f9 (diff) |
Janitor: Ansification of and missing prototypes.
This corrects compiler warnings in lib/libXTrap and app/xtrap.
Diffstat (limited to 'xtraplibp.h')
-rw-r--r-- | xtraplibp.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/xtraplibp.h b/xtraplibp.h index ff2042e..0c6ced2 100644 --- a/xtraplibp.h +++ b/xtraplibp.h @@ -42,8 +42,12 @@ SOFTWARE. * routines sorted by module (globally defined routines *only*). */ +#include <X11/Xfuncproto.h> + #include <stdio.h> +_XFUNCPROTOBEGIN + /* XEConTxt.c */ XETC *XECreateTC (Display *dpy , CARD32 valuemask , XETCValues *value ); int XEChangeTC (XETC *tc , CARD32 mask , XETCValues *values ); @@ -102,6 +106,7 @@ XtInputMask XETrapAppPending (XtAppContext app); void XETrapAppMainLoop (XtAppContext app , XETC *tc ); int XETrapAppWhileLoop (XtAppContext app , XETC *tc , Bool *done ); int XETrapWaitForSomething (XtAppContext app ); +Boolean (*XETrapGetEventHandler(XETC *tc, CARD32 id))(XETrapDataEvent *event, XETC *tc); Boolean (*XETrapSetEventHandler(XETC *tc, CARD32 id, Boolean (*pfunc)(XETrapDataEvent *event, XETC *tc))) (XETrapDataEvent *event, XETC *tc); /* XEPrInfo.c */ @@ -141,4 +146,6 @@ Bool XETrapQueryExtension (Display *dpy,INT32 *event_base_return, INT32 *error_base_return, INT32 *opcode_return); +_XFUNCPROTOEND + #endif /* __XTRAPLIBP__ */ |