Drop most 'const's from function prototypes

darcs-hash:20060612214742-ac50b-9b0801e8a7c07d6ab3f0acf569e1d6eb1eeb3f0e.gz
This commit is contained in:
axel
2006-06-13 07:47:42 +10:00
parent 2c95e087b2
commit 9aee2b7c9c
18 changed files with 138 additions and 138 deletions

View File

@@ -627,7 +627,7 @@ void event_destroy()
if( events )
{
al_foreach( events, (void (*)(const void *))&event_free );
al_foreach( events, (void (*)(void *))&event_free );
al_destroy( events );
free( events );
events=0;
@@ -635,7 +635,7 @@ void event_destroy()
if( killme )
{
al_foreach( killme, (void (*)(const void *))&event_free );
al_foreach( killme, (void (*)(void *))&event_free );
al_destroy( killme );
free( killme );
killme=0;
@@ -647,7 +647,7 @@ void event_free( event_t *e )
/*
When apropriate, we clear the argument vector
*/
al_foreach( &e->arguments, (void (*)(const void *))&free );
al_foreach( &e->arguments, &free );
al_destroy( &e->arguments );
free( (void *)e->function_name );