silence warnings

This commit is contained in:
Alan Hourihane
2004-12-08 14:00:46 +00:00
parent 8635615501
commit c63f3cf85d
2 changed files with 4 additions and 4 deletions

View 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 ); \

View 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;