summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/cso_cache
diff options
context:
space:
mode:
authorYonggang Luo <luoyonggang@gmail.com>2022-03-31 15:32:36 +0800
committerMarge Bot <emma+marge@anholt.net>2022-04-21 14:43:39 +0000
commit9aa094d1b1184026fa0e18a8967c32baa1a5922e (patch)
tree4af407d14db6af0849f9e707293eaff1f1191501 /src/gallium/auxiliary/cso_cache
parent30aab0af07c5bcfab7f0341bba815162ee5f2049 (diff)
misc: Replace `#ifdef\t__cplusplus` with `#ifdef\s\s__cplusplus`
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15762>
Diffstat (limited to 'src/gallium/auxiliary/cso_cache')
-rw-r--r--src/gallium/auxiliary/cso_cache/cso_cache.h4
-rw-r--r--src/gallium/auxiliary/cso_cache/cso_context.h4
-rw-r--r--src/gallium/auxiliary/cso_cache/cso_hash.h4
3 files changed, 6 insertions, 6 deletions
diff --git a/src/gallium/auxiliary/cso_cache/cso_cache.h b/src/gallium/auxiliary/cso_cache/cso_cache.h
index 745db51f0d6..3e9b05ce21a 100644
--- a/src/gallium/auxiliary/cso_cache/cso_cache.h
+++ b/src/gallium/auxiliary/cso_cache/cso_cache.h
@@ -81,7 +81,7 @@
#include "cso_hash.h"
-#ifdef __cplusplus
+#ifdef __cplusplus
extern "C" {
#endif
@@ -182,7 +182,7 @@ cso_construct_key(void *key, int key_size)
return hash;
}
-#ifdef __cplusplus
+#ifdef __cplusplus
}
#endif
diff --git a/src/gallium/auxiliary/cso_cache/cso_context.h b/src/gallium/auxiliary/cso_cache/cso_context.h
index b153e8347fc..3c5b6064209 100644
--- a/src/gallium/auxiliary/cso_cache/cso_context.h
+++ b/src/gallium/auxiliary/cso_cache/cso_context.h
@@ -35,7 +35,7 @@
#include "cso_cache.h"
-#ifdef __cplusplus
+#ifdef __cplusplus
extern "C" {
#endif
@@ -216,7 +216,7 @@ cso_draw_arrays_instanced(struct cso_context *cso, uint mode,
void
cso_draw_arrays(struct cso_context *cso, uint mode, uint start, uint count);
-#ifdef __cplusplus
+#ifdef __cplusplus
}
#endif
diff --git a/src/gallium/auxiliary/cso_cache/cso_hash.h b/src/gallium/auxiliary/cso_cache/cso_hash.h
index 26ab7fc5a06..05bf757164c 100644
--- a/src/gallium/auxiliary/cso_cache/cso_hash.h
+++ b/src/gallium/auxiliary/cso_cache/cso_hash.h
@@ -46,7 +46,7 @@
#include "pipe/p_compiler.h"
-#ifdef __cplusplus
+#ifdef __cplusplus
extern "C" {
#endif
@@ -171,7 +171,7 @@ cso_hash_iter_next(struct cso_hash_iter iter)
return next;
}
-#ifdef __cplusplus
+#ifdef __cplusplus
}
#endif