summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlan Hourihane <[email protected]>2004-12-08 14:00:46 +0000
committerAlan Hourihane <[email protected]>2004-12-08 14:00:46 +0000
commitc63f3cf85d9719581262b4cf9d69789926879eba (patch)
treebbb4f21c9dcbd554bad384b62c479a53bcecfbb3 /src
parent86356155018fce96ba3367fd1a48a18cd6db3c40 (diff)
silence warnings
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;