From 62749d54fd79b12123607599d58add126ce5de6e Mon Sep 17 00:00:00 2001 From: TORRI Vincent Date: Thu, 8 Jun 2006 06:59:47 +0200 Subject: fix compilation with c++ compilers. Remove some trailing spaces --- src/xcb.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/xcb.h b/src/xcb.h index c7084ff..85d0658 100644 --- a/src/xcb.h +++ b/src/xcb.h @@ -25,8 +25,8 @@ * authorization from the authors. */ -#ifndef __XCB_H -#define __XCB_H +#ifndef __XCB_H__ +#define __XCB_H__ #include /* TODO: check for stdint in config? (HAVE_STDINT) fallback? */ @@ -48,10 +48,12 @@ typedef int32_t INT32; #include #include + #ifdef __cplusplus extern "C" { #endif + #if (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1)) #define deprecated __attribute__((__deprecated__)) #else @@ -534,4 +536,5 @@ XCBGenericIter XCBConnSetupSuccessRepEnd(XCBSetupIter i) deprecated; } #endif -#endif + +#endif /* __XCB_H__ */ -- cgit v1.2.3