mark internal functions static

This commit is contained in:
Albert Cahalan 2008-05-04 18:29:28 +00:00
parent c8df236b92
commit 3252287d30
24 changed files with 103 additions and 103 deletions

View file

@ -39,8 +39,8 @@
/* Our globals: */
Mix_Chunk * light1_snd, * light2_snd;
float light_h, light_s, light_v;
static Mix_Chunk * light1_snd, * light2_snd;
static float light_h, light_s, light_v;
Uint32 light_api_version(void) { return(TP_MAGIC_API_VERSION); }
@ -93,7 +93,7 @@ char * light_get_description(magic_api * api, int which)
// Do the effect:
void do_light(void * ptr, int which, SDL_Surface * canvas, SDL_Surface * last,
static void do_light(void * ptr, int which, SDL_Surface * canvas, SDL_Surface * last,
int x, int y)
{
magic_api * api = (magic_api *) ptr;