summaryrefslogtreecommitdiffstats
path: root/src/util/ralloc.h
diff options
context:
space:
mode:
authorJose Fonseca <jfonseca@vmware.com>2015-04-02 11:24:26 +0100
committerJose Fonseca <jfonseca@vmware.com>2015-04-13 12:03:26 +0100
commit978753e84368ef3afa9288cbfbee1c85b3ab09d1 (patch)
tree91cc7d020e44e89da1bfb62842444c25e4c39c0e /src/util/ralloc.h
parent85dd46d90cd7d3d6898d28626063563c1aaba369 (diff)
downloadexternal_mesa3d-978753e84368ef3afa9288cbfbee1c85b3ab09d1.zip
external_mesa3d-978753e84368ef3afa9288cbfbee1c85b3ab09d1.tar.gz
external_mesa3d-978753e84368ef3afa9288cbfbee1c85b3ab09d1.tar.bz2
util/ralloc: Fix `extern "C"` usage.
Reviewed-by: Roland Scheidegger <sroland@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/util/ralloc.h')
-rw-r--r--src/util/ralloc.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/util/ralloc.h b/src/util/ralloc.h
index 01f102b..7587e11 100644
--- a/src/util/ralloc.h
+++ b/src/util/ralloc.h
@@ -46,16 +46,16 @@
#ifndef RALLOC_H
#define RALLOC_H
-#ifdef __cplusplus
-extern "C" {
-#endif
-
#include <stddef.h>
#include <stdarg.h>
#include <stdbool.h>
#include "macros.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/**
* \def ralloc(ctx, type)
* Allocate a new object chained off of the given context.