diff options
author | Brian Paul <[email protected]> | 2014-12-15 16:36:27 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2014-12-16 07:52:41 -0700 |
commit | 3ebc135b4ed261cb7959dd7429773b25ce545102 (patch) | |
tree | c5ea5bf801671ea249abfa0dcf6266d1b2f713bb /src/mesa/main/texenvprogram.h | |
parent | 4b342fbbb739b4266ec6bdaa59d1807b75199061 (diff) |
mesa: put extern "C" in header files
Reviewed-by: Anuj Phogat <[email protected]>
Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/mesa/main/texenvprogram.h')
-rw-r--r-- | src/mesa/main/texenvprogram.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/mesa/main/texenvprogram.h b/src/mesa/main/texenvprogram.h index 15ab31a5003..11439f13b35 100644 --- a/src/mesa/main/texenvprogram.h +++ b/src/mesa/main/texenvprogram.h @@ -27,9 +27,20 @@ #define TEXENVPROGRAM_H +#ifdef __cplusplus +extern "C" { +#endif + + struct gl_context; extern struct gl_shader_program * _mesa_get_fixed_func_fragment_program(struct gl_context *ctx); + +#ifdef __cplusplus +} +#endif + + #endif |