winsys/amdgpu/addrlib: do not wrap header inclusion in extern "C"
authorEmil Velikov <emil.velikov@collabora.com>
Tue, 24 Nov 2015 16:29:28 +0000 (16:29 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 9 Mar 2016 17:16:51 +0000 (17:16 +0000)
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/winsys/amdgpu/drm/addrlib/addrinterface.h

index 03fbf2bd0ee4dfb046f4c37b7029c3c01753a761..ead603378cff75dce731cc54fb4afdb1c6b19bb9 100644 (file)
 #ifndef __ADDR_INTERFACE_H__
 #define __ADDR_INTERFACE_H__
 
+#include "addrtypes.h"
+
 #if defined(__cplusplus)
 extern "C"
 {
 #endif
 
-#include "addrtypes.h"
-
 #define ADDRLIB_VERSION_MAJOR 5
 #define ADDRLIB_VERSION_MINOR 25
 #define ADDRLIB_VERSION ((ADDRLIB_VERSION_MAJOR << 16) | ADDRLIB_VERSION_MINOR)