summaryrefslogtreecommitdiff
path: root/modules/glslang
diff options
context:
space:
mode:
authorRajat Goswami <rajat.goswami@hotmail.com>2020-03-21 21:29:40 -0400
committerRajat Goswami <rajat.goswami@hotmail.com>2020-03-23 04:52:36 -0400
commit2ecf928ae39253f8cc72de1ad1391e8ed140ed6d (patch)
tree8c6d73d8a76ee63c10159e2d853889164cf6ab62 /modules/glslang
parentcce0a27ec7dd7c11fcb37eb724b0b7e97b3b1478 (diff)
Adding missing include guards to header files identified by LGTM.
This addresses the issue godotengine/godot#37143
Diffstat (limited to 'modules/glslang')
-rw-r--r--modules/glslang/register_types.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/glslang/register_types.h b/modules/glslang/register_types.h
index 37a1ef67f2..2437e2b27a 100644
--- a/modules/glslang/register_types.h
+++ b/modules/glslang/register_types.h
@@ -28,7 +28,13 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
+#ifndef GLSLANG_REGISTER_TYPES_H
+#define GLSLANG_REGISTER_TYPES_H
+
#define MODULE_GLSLANG_HAS_PREREGISTER
+
void preregister_glslang_types();
void register_glslang_types();
void unregister_glslang_types();
+
+#endif // GLSLANG_REGISTER_TYPES_H