silence warnings
authorAlan Hourihane <alanh@tungstengraphics.com>
Wed, 8 Dec 2004 14:00:46 +0000 (14:00 +0000)
committerAlan Hourihane <alanh@tungstengraphics.com>
Wed, 8 Dec 2004 14:00:46 +0000 (14:00 +0000)
src/mesa/main/vtxfmt.c
src/mesa/shader/grammar.c

index 3aaf7daa58bdffc370e24159ed2a633359e394b1..1496fd1c00b1d5c760aa73ab113e0ad9f7f1d7a5 100644 (file)
@@ -49,7 +49,7 @@
 {                                                                      \
    GET_CURRENT_CONTEXT(ctx);                                           \
    struct gl_tnl_module *tnl = &(ctx->TnlModule);                      \
-   typedef void (*func_ptr_t)();                                       \
+   typedef void (*func_ptr_t)(void);                                   \
                                                                        \
    ASSERT( tnl->Current );                                             \
    ASSERT( tnl->SwapCount < NUM_VERTEX_FORMAT_ENTRIES );               \
index 61eee8ae41c22e9049db4c187af5b50cfd85aff3..7864b36b380149f71ca7acd0a8d43fc0e269f02f 100644 (file)
@@ -33,7 +33,7 @@
 #endif
 
 /*
-    $Id: grammar.c,v 1.9 2004/10/20 14:54:17 michal Exp $
+    $Id: grammar.c,v 1.10 2004/12/08 14:00:46 alanh Exp $
 */
 
 /*
@@ -279,7 +279,7 @@ static int error_position = -1;
 
 static byte *unknown = (byte *) "???";
 
-static void clear_last_error ()
+static void clear_last_error (void)
 {
     /* reset error message */
     error_message = NULL;
@@ -826,7 +826,7 @@ GRAMMAR_IMPLEMENT_LIST_APPEND(rule)
 /*
     returns unique grammar id
 */
-static grammar next_valid_grammar_id ()
+static grammar next_valid_grammar_id (void)
 {
     static grammar id = 0;