projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85dd46d
)
util/ralloc: Fix `extern "C"` usage.
author
Jose Fonseca
<jfonseca@vmware.com>
Thu, 2 Apr 2015 10:24:26 +0000
(11:24 +0100)
committer
Jose Fonseca
<jfonseca@vmware.com>
Mon, 13 Apr 2015 11:03:26 +0000
(12:03 +0100)
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/util/ralloc.h
patch
|
blob
|
history
diff --git
a/src/util/ralloc.h
b/src/util/ralloc.h
index 01f102ba244ff67213ea3a8c83408817ac279062..7587e1190b09db6a4ff4185f3ff4b5155ba2d87d 100644
(file)
--- 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.