|
From: <sk...@us...> - 2010-09-23 12:02:08
|
Revision: 2395
http://linuxconsole.svn.sourceforge.net/linuxconsole/?rev=2395&view=rev
Author: skitt
Date: 2010-09-23 12:02:02 +0000 (Thu, 23 Sep 2010)
Log Message:
-----------
Fix SDL-related warnings.
Modified Paths:
--------------
trunk/utils/Makefile
trunk/utils/ffmvforce.c
Modified: trunk/utils/Makefile
===================================================================
--- trunk/utils/Makefile 2010-09-23 12:00:54 UTC (rev 2394)
+++ trunk/utils/Makefile 2010-09-23 12:02:02 UTC (rev 2395)
@@ -41,8 +41,7 @@
$(RM) *.o *.swp $(PROGRAMS) *.orig *.rej map *~
ffcfstress: ffcfstress.c
- $(CC) -O2 -fno-implement-inlines -funsigned-char \
- -lm ffcfstress.c -o ffcfstress
+ $(CC) -O2 -funsigned-char -lm ffcfstress.c -o ffcfstress
ffmvforce.o: ffmvforce.c
$(CC) -c $(CFLAGS) $(CPPFLAGS) $^ -o $@ `sdl-config --cflags`
Modified: trunk/utils/ffmvforce.c
===================================================================
--- trunk/utils/ffmvforce.c 2010-09-23 12:00:54 UTC (rev 2394)
+++ trunk/utils/ffmvforce.c 2010-09-23 12:02:02 UTC (rev 2395)
@@ -147,7 +147,7 @@
fprintf(stderr, "Could not initialize SDL: %s\n", SDL_GetError());
exit(1);
}
- on_exit(SDL_Quit, NULL);
+ atexit(SDL_Quit);
screen = SDL_SetVideoMode(WIN_W, WIN_H, 0, SDL_SWSURFACE);
if (screen == NULL) {
fprintf(stderr, "Could not set video mode: %s\n", SDL_GetError());
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|