summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTORRI Vincent <torri@doursse.(none)>2006-06-08 06:59:47 +0200
committerTORRI Vincent <torri@doursse.(none)>2006-06-08 06:59:47 +0200
commit62749d54fd79b12123607599d58add126ce5de6e (patch)
tree26d6977a0f77c8e8a9cdcd3d3aeeef397cd737c3
parent829188cdd6274b5b5271dff5612b30c978a61a38 (diff)
fix compilation with c++ compilers. Remove some trailing spaces
-rw-r--r--src/xcb.h9
1 files 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 <sys/types.h>
/* TODO: check for stdint in config? (HAVE_STDINT) fallback? */
@@ -48,10 +48,12 @@ typedef int32_t INT32;
#include <sys/uio.h>
#include <pthread.h>
+
#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__ */