summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/amdgpu/drm
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2015-11-24 16:29:28 +0000
committerEmil Velikov <[email protected]>2016-03-09 17:16:51 +0000
commit3ffab9a89cd18f41535598e390294fa67efc6c56 (patch)
tree5bb8024e831ef25584d73bb09da6ddb4ff76c9c0 /src/gallium/winsys/amdgpu/drm
parenta07192bd6395ea44d28db4f9fe3fd89f4b7aa94a (diff)
winsys/amdgpu/addrlib: do not wrap header inclusion in extern "C"
Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/winsys/amdgpu/drm')
-rw-r--r--src/gallium/winsys/amdgpu/drm/addrlib/addrinterface.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/winsys/amdgpu/drm/addrlib/addrinterface.h b/src/gallium/winsys/amdgpu/drm/addrlib/addrinterface.h
index 03fbf2bd0ee..ead603378cf 100644
--- a/src/gallium/winsys/amdgpu/drm/addrlib/addrinterface.h
+++ b/src/gallium/winsys/amdgpu/drm/addrlib/addrinterface.h
@@ -33,13 +33,13 @@
#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)