1
Fix SDL-related warnings.
3
--- joystick-20051019.orig/utils/Makefile
4
+++ joystick-20051019/utils/Makefile
6
$(RM) *.o *.swp $(PROGRAMS) *.orig *.rej map *~
8
ffcfstress: ffcfstress.c
9
- $(CC) -O2 -fno-implement-inlines -funsigned-char \
10
- -lm ffcfstress.c -o ffcfstress
11
+ $(CC) -O2 -funsigned-char -lm ffcfstress.c -o ffcfstress
13
ffmvforce.o: ffmvforce.c
14
$(CC) -c $(CFLAGS) $(CPPFLAGS) $^ -o $@ `sdl-config --cflags`
15
--- joystick-20051019.orig/utils/ffmvforce.c
16
+++ joystick-20051019/utils/ffmvforce.c
18
fprintf(stderr, "Could not initialize SDL: %s\n", SDL_GetError());
21
- on_exit(SDL_Quit, NULL);
23
screen = SDL_SetVideoMode(WIN_W, WIN_H, 0, SDL_SWSURFACE);
25
fprintf(stderr, "Could not set video mode: %s\n", SDL_GetError());