File gnuboy-1.0.3.dif of Package gnuboy

--- configure
+++ configure	2005/11/04 12:59:34
@@ -3150,7 +3150,7 @@
 case "$CC" in *gcc*)
 echo "$as_me:3151: result: enabling selected compiler warnings" >&5
 echo "${ECHO_T}enabling selected compiler warnings" >&6
-CFLAGS="$CFLAGS -ansi -pedantic -Wall -Wno-implicit -Wno-long-long" ;;
+CFLAGS="$CFLAGS -pedantic -Wall -Wno-implicit -Wno-long-long" ;;
 *)
 echo "$as_me:3155: result: disabling warnings for non-gcc compiler" >&5
 echo "${ECHO_T}disabling warnings for non-gcc compiler" >&6 ;;
@@ -3231,7 +3231,7 @@
 #2.9*|3.*)
 CFLAGS="$CFLAGS -fstrength-reduce -fthread-jumps \
  -fcse-follow-jumps -fcse-skip-blocks -frerun-cse-after-loop \
- -fexpensive-optimizations -fforce-mem -fforce-addr"
+ -fexpensive-optimizations -fforce-addr"
 #;;
 #*)
 #AC_MSG_WARN(your compiler is too old for fancy optimizations)
--- loader.c
+++ loader.c	2005/11/04 12:59:45
@@ -11,8 +11,6 @@
 #include <stdlib.h>
 #include <string.h>
 
-char *strdup();
-
 static int mbc_table[256] =
 {
 	0, 1, 1, 1, 0, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 3,
--- main.c
+++ main.c	2005/11/04 13:49:21
@@ -7,9 +7,6 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-
-char *strdup();
-
 #include <stdarg.h>
 #include <signal.h>
 
--- path.c
+++ path.c	2005/11/05 13:09:02
@@ -5,8 +5,6 @@
 #include <stdlib.h>
 #include <string.h>
 
-char *strdup();
-
 #ifdef ALT_PATH_SEP
 #define SEP ';'
 #else
--- rckeys.c
+++ rckeys.c	2005/11/05 13:08:47
@@ -4,8 +4,6 @@
 #include <stdlib.h>
 #include <string.h>
 
-char *strdup();
-
 #include "defs.h"
 #include "rc.h"
 #include "input.h"
--- rcvars.c
+++ rcvars.c	2005/11/05 13:09:22
@@ -5,8 +5,6 @@
 #include <stdlib.h>
 #include <string.h>
 
-char *strdup();
-
 #include "defs.h"
 #include "rc.h"
 
--- sys/linux/joy.c
+++ sys/linux/joy.c	2005/11/04 12:59:34
@@ -2,7 +2,6 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-char *strdup();
 #include <linux/joystick.h>
 #include <sys/types.h>
 #include <sys/stat.h>
--- sys/oss/oss.c
+++ sys/oss/oss.c	2005/11/05 13:15:30
@@ -2,7 +2,6 @@
 
 #include <stdlib.h>
 #include <string.h>
-char *strdup();
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <fcntl.h>
openSUSE Build Service is sponsored by