st/mesa: add extern "C" to st_program.h
authorBrian Paul <brianp@vmware.com>
Mon, 15 Dec 2014 23:46:46 +0000 (16:46 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 16 Dec 2014 14:52:41 +0000 (07:52 -0700)
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/mesa/state_tracker/st_program.h

index cf1b40a55fc4bf58eaf166f5d88fec7bb1ac2dd5..870d0d57a868dca78af5c9280e2f7d822e6fff18 100644 (file)
 #include "st_glsl_to_tgsi.h"
 
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
 /** Fragment program variant key */
 struct st_fp_variant_key
 {
@@ -347,4 +352,8 @@ extern void
 st_print_current_vertex_program(void);
 
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif