Update of /cvsroot/tuxpaint/tuxpaint/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22840/src
Modified Files:
tuxpaint.c
Log Message:
use static keyword --> fewer warnings and better optimization
Index: tuxpaint.c
===================================================================
RCS file: /cvsroot/tuxpaint/tuxpaint/src/tuxpaint.c,v
retrieving revision 1.166
retrieving revision 1.167
diff -u -d -r1.166 -r1.167
--- tuxpaint.c 22 Nov 2004 01:47:04 -0000 1.166
+++ tuxpaint.c 22 Nov 2004 23:17:22 -0000 1.167
@@ -283,7 +283,7 @@
The SDL stderr redirection trick doesn't seem to work for perror().
This does pretty much the same thing.
*/
-void win32_perror(const char *str)
+static void win32_perror(const char *str)
{
if ( str && *str )
fprintf(stderr,"%s : ",str);
@@ -308,7 +308,7 @@
TTF_OpenFont() with the filename of a font that doesn't exist. This
is an old and well documented bug that is fixed in CVS.
[...1604 lines suppressed...]
/*
Uint32 amask;
@@ -13052,7 +13054,7 @@
return(SDL_DisplayFormatAlpha(orig));
}
-void mirror_starter(void)
+static void mirror_starter(void)
{
SDL_Surface * orig;
int x;
@@ -13119,7 +13121,7 @@
}
-void flip_starter(void)
+static void flip_starter(void)
{
SDL_Surface * orig;
int y;
_______________________________________________
Tuxpaint-commits mailing list
[EMAIL PROTECTED]
http://tux4kids.net/mailman/listinfo/tuxpaint-commits