fixed the nested extern warning
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 5 May 2000 17:02:33 +0000 (17:02 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 5 May 2000 17:02:33 +0000 (17:02 +0000)
src/mesa/x86/x86.c

index 3ec1de4fb269a055dd14a50a94fb508805554af6..3696cd818ba16b77be0835be1eb87f1993365cd3 100644 (file)
@@ -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 )