diff options
author | Erik Faye-Lund <[email protected]> | 2019-06-24 11:54:30 +0200 |
---|---|---|
committer | Erik Faye-Lund <[email protected]> | 2019-10-28 08:51:45 +0000 |
commit | 35c0ef885277d5c80f760796c0ad51e139931bb0 (patch) | |
tree | 47e7806edf580b8355b91d1861c7d62c51a7f256 /src | |
parent | bb76a3f61d2c69c3adf3fac4571f49c5ef04ab6c (diff) |
zink: squashme: trade cplusplus wrapper for header-guard
Acked-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.h b/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.h index 55a0e01e079..758ca901a2d 100644 --- a/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.h +++ b/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.h @@ -21,9 +21,8 @@ * USE OR OTHER DEALINGS IN THE SOFTWARE. */ -#ifdef __cplusplus -extern "C" { -#endif +#ifndef NIR_TO_SPIRV_H +#define NIR_TO_SPIRV_H #include <stdlib.h> #include <stdint.h> @@ -42,6 +41,4 @@ nir_to_spirv(struct nir_shader *s); void spirv_shader_delete(struct spirv_shader *s); -#ifdef __cplusplus -} #endif |