diff options
author | TORRI Vincent <torri@doursse.(none)> | 2006-06-08 07:02:15 +0200 |
---|---|---|
committer | TORRI Vincent <torri@doursse.(none)> | 2006-06-08 07:02:15 +0200 |
commit | 66f8cf96ded8de4180b8955a83e0c0fce16fe579 (patch) | |
tree | 3201abcec2cbbb779f5bdf2fff9b7ac52b0ddbdc | |
parent | bad580c5803d918dedc2afbd96c2b3701bccfdf8 (diff) |
fix compilation with c++ compilers. Remove some trailing spaces
-rw-r--r-- | event/xcb_event.h | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/event/xcb_event.h b/event/xcb_event.h index 5d94e4b..84b7f04 100644 --- a/event/xcb_event.h +++ b/event/xcb_event.h @@ -1,8 +1,14 @@ -#ifndef EVENTS_H -#define EVENTS_H +#ifndef __XCB_EVENTS_H__ +#define __XCB_EVENTS_H__ #include <X11/XCB/xcb.h> + +#ifdef __cplusplus +extern "C" { +#endif + + typedef struct EventHandlers EventHandlers; EventHandlers *allocEventHandlers(XCBConnection *c); void freeEventHandlers(EventHandlers *evenths); @@ -56,4 +62,10 @@ MAKE_HANDLER(Event, ColormapNotify) MAKE_HANDLER(Event, ClientMessage) MAKE_HANDLER(Event, MappingNotify) -#endif /* EVENTS_H */ + +#ifdef __cplusplus +} +#endif + + +#endif /* __XCB_EVENTS_H__ */ |