draw: Use PIPE_CDECL.
authorJosé Fonseca <jrfonseca@tungstengraphics.com>
Wed, 28 May 2008 13:19:58 +0000 (22:19 +0900)
committerJosé Fonseca <jrfonseca@tungstengraphics.com>
Wed, 28 May 2008 13:23:34 +0000 (22:23 +0900)
src/gallium/auxiliary/draw/draw_vs_aos.c
src/gallium/auxiliary/draw/draw_vs_aos.h

index d3770b2c53ba123f9000bc5974f66de1d2db6326..0cd82ff599dc409298e5c0c5011370357d9619e6 100644 (file)
@@ -1189,7 +1189,7 @@ static boolean emit_FRC( struct aos_compilation *cp, const struct tgsi_full_inst
    return TRUE;
 }
 
-static PIPE_CDECL void do_lit( struct aos_machine *machine,
+static void PIPE_CDECL do_lit( struct aos_machine *machine,
                                float *result,
                                const float *in,
                                unsigned count )
@@ -1223,7 +1223,7 @@ static PIPE_CDECL void do_lit( struct aos_machine *machine,
 }
 
 
-static PIPE_CDECL void do_lit_lut( struct aos_machine *machine,
+static void PIPE_CDECL do_lit_lut( struct aos_machine *machine,
                                    float *result,
                                    const float *in,
                                    unsigned count )
@@ -2119,10 +2119,10 @@ static void vaos_destroy( struct draw_vs_varient *varient )
    FREE(vaos);
 }
 
-static void vaos_run_elts( struct draw_vs_varient *varient,
-                           const unsigned *elts,
-                           unsigned count,
-                           void *output_buffer )
+static void PIPE_CDECL vaos_run_elts( struct draw_vs_varient *varient,
+                                      const unsigned *elts,
+                                      unsigned count,
+                                      void *output_buffer )
 {
    struct draw_vs_varient_aos_sse *vaos = (struct draw_vs_varient_aos_sse *)varient;
 
@@ -2133,10 +2133,10 @@ static void vaos_run_elts( struct draw_vs_varient *varient,
                        output_buffer );
 }
 
-static void vaos_run_linear( struct draw_vs_varient *varient,
-                             unsigned start,
-                             unsigned count,
-                             void *output_buffer )
+static void PIPE_CDECL vaos_run_linear( struct draw_vs_varient *varient,
+                                        unsigned start,
+                                        unsigned count,
+                                        void *output_buffer )
 {
    struct draw_vs_varient_aos_sse *vaos = (struct draw_vs_varient_aos_sse *)varient;
 
index b47413ff43c46e784984e13f6b267c2c23ca2e2f..837b32794f1de480bc9295b599086ca3333acffe 100644 (file)
@@ -60,7 +60,7 @@ struct x86_function;
 #define FPU_RND_NEAREST 2
 
 struct aos_machine;
-typedef void PIPE_CDECL (*lit_func)( struct aos_machine *,
+typedef void (PIPE_CDECL *lit_func)( struct aos_machine *,
                                     float *result,
                                     const float *in,
                                     unsigned count );