summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader
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/mesa/shader
parent86356155018fce96ba3367fd1a48a18cd6db3c40 (diff)
silence warnings
Diffstat (limited to 'src/mesa/shader')
-rw-r--r--src/mesa/shader/grammar.c6
1 files changed, 3 insertions, 3 deletions
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;