program: remove extern "C" around #includes
authorBrian Paul <brianp@vmware.com>
Tue, 16 Dec 2014 00:04:38 +0000 (17:04 -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/program/ir_to_mesa.cpp

index 5196545b8ae24a4615d1c12635ddc24ad5ff22aa..ce3af3120830dbf31beee1f206c84988140d1ddc 100644 (file)
 #include "linker.h"
 
 #include "main/mtypes.h"
+#include "main/shaderapi.h"
 #include "main/shaderobj.h"
 #include "main/uniforms.h"
-#include "program/hash_table.h"
 
-extern "C" {
-#include "main/shaderapi.h"
+#include "program/hash_table.h"
 #include "program/prog_instruction.h"
 #include "program/prog_optimize.h"
 #include "program/prog_print.h"
 #include "program/program.h"
 #include "program/prog_parameter.h"
 #include "program/sampler.h"
-}
+
 
 static int swizzle_for_size(int size);