swr: [rasterizer jitter] adjust extern "C" block scope
authorTim Rowley <timothy.o.rowley@intel.com>
Thu, 21 Jul 2016 22:54:25 +0000 (16:54 -0600)
committerTim Rowley <timothy.o.rowley@intel.com>
Thu, 4 Aug 2016 19:01:31 +0000 (14:01 -0500)
Signed-off-by: Tim Rowley <timothy.o.rowley@intel.com>
src/gallium/drivers/swr/rasterizer/jitter/jit_api.h

index f5c27f0..05af540 100644 (file)
@@ -47,8 +47,7 @@
 #define JITCALL
 #endif
 
-extern "C"
-{
+
 
 struct ShaderInfo;
 
@@ -64,6 +63,9 @@ struct JIT_COMPILE_INPUT
     bool enableJitSampler;
 };
 
+extern "C"
+{
+
 //////////////////////////////////////////////////////////////////////////
 /// @brief Create JIT context.
 HANDLE JITCALL JitCreateContext(uint32_t targetSimdWidth, const char* arch);
@@ -107,5 +109,5 @@ PFN_SO_FUNC JITCALL JitCompileStreamout(HANDLE hJitContext, const STREAMOUT_COMP
 /// @param state   - blend state to build function from
 PFN_BLEND_JIT_FUNC JITCALL JitCompileBlend(HANDLE hJitContext, const BLEND_COMPILE_STATE& state);
 
+}
 
-}; // extern "C"