From: TORRI Vincent Date: Thu, 8 Jun 2006 04:59:47 +0000 (+0200) Subject: fix compilation with c++ compilers. Remove some trailing spaces X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62749d54fd79b12123607599d58add126ce5de6e;p=free-sw%2Fxcb%2Flibxcb fix compilation with c++ compilers. Remove some trailing spaces --- 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__ */