summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/vtxfmt.c2
-rw-r--r--src/mesa/shader/grammar.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/main/vtxfmt.c b/src/mesa/main/vtxfmt.c
index 3aaf7daa58b..1496fd1c00b 100644
--- a/src/mesa/main/vtxfmt.c
+++ b/src/mesa/main/vtxfmt.c
@@ -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 ); \
diff --git a/src/mesa/shader/grammar.c b/src/mesa/shader/grammar.c
index 61eee8ae41c..7864b36b380 100644
--- a/src/mesa/shader/grammar.c
+++ b/src/mesa/shader/grammar.c
@@ -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;