[Mesa-dev] [PATCH 04/11] util/sha: do not wrap header inclusion in extern "C"

Emil Velikov emil.l.velikov at gmail.com
Tue Nov 24 08:29:21 PST 2015


From: Emil Velikov <emil.velikov at collabora.com>

Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
 src/util/mesa-sha1.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/util/mesa-sha1.h b/src/util/mesa-sha1.h
index 1599405..0be5485 100644
--- a/src/util/mesa-sha1.h
+++ b/src/util/mesa-sha1.h
@@ -23,12 +23,12 @@
 #ifndef SHA1_H
 #define SHA1_H
 
+#include <stdlib.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
 
-#include <stdlib.h>
-
 struct mesa_sha1;
 
 struct mesa_sha1 *
-- 
2.6.2



More information about the mesa-dev mailing list