gbm: do not wrap header inclusion in extern "C"
authorEmil Velikov <emil.velikov@collabora.com>
Tue, 24 Nov 2015 16:29:18 +0000 (16:29 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 9 Mar 2016 17:16:50 +0000 (17:16 +0000)
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
src/gbm/main/gbm.h

index 8db2153e84bb69d5bf5976f45fb3572c961e12b6..63d9a9edfd62e94a9c7da55792c252679da92900 100644 (file)
 #ifndef _GBM_H_
 #define _GBM_H_
 
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-
 #define __GBM__ 1
 
 #include <stddef.h>
 #include <stdint.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
 /**
  * \file gbm.h
  * \brief Generic Buffer Manager