From 9635376e446999913017c9e4e87315e5893c8264 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 5 May 2000 17:02:33 +0000 Subject: fixed the nested extern warning --- src/mesa/x86/x86.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/mesa/x86/x86.c b/src/mesa/x86/x86.c index 3ec1de4fb26..3696cd818ba 100644 --- a/src/mesa/x86/x86.c +++ b/src/mesa/x86/x86.c @@ -1,4 +1,4 @@ -/* $Id: x86.c,v 1.5 2000/04/15 23:19:05 brianp Exp $ */ +/* $Id: x86.c,v 1.6 2000/05/05 17:02:33 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -87,8 +87,7 @@ extern void _ASMAPI gl_v16_x86_general_xform(GLfloat *dest, gl_transform_tab[cma][vsize][MATRIX_3D] \ = gl_##pfx##_transform_points##vsize##_3d_##masked; -void gl_init_x86_asm_transforms( void ) -{ + #ifdef USE_X86_ASM DECLARE_XFORM_GROUP( x86, 2, raw ) DECLARE_XFORM_GROUP( x86, 3, raw ) @@ -102,8 +101,12 @@ void gl_init_x86_asm_transforms( void ) GLubyte clipMask[], GLubyte *orMask, GLubyte *andMask ); +#endif - + +void gl_init_x86_asm_transforms( void ) +{ +#ifdef USE_X86_ASM ASSIGN_XFORM_GROUP( x86, 0, 2, raw ) ASSIGN_XFORM_GROUP( x86, 0, 3, raw ) ASSIGN_XFORM_GROUP( x86, 0, 4, raw ) -- cgit v1.2.3