summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmil Velikov <emil.velikov@collabora.com>2015-11-24 16:29:28 +0000
committerEmil Velikov <emil.l.velikov@gmail.com>2016-03-09 17:16:51 +0000
commit3ffab9a89cd18f41535598e390294fa67efc6c56 (patch)
tree5bb8024e831ef25584d73bb09da6ddb4ff76c9c0
parenta07192bd6395ea44d28db4f9fe3fd89f4b7aa94a (diff)
winsys/amdgpu/addrlib: do not wrap header inclusion in extern "C"
Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
-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 03fbf2bd0e..ead603378c 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)