File heroes-0.21-gcc_warning.diff of Package heroes-tron

--- lib/xstrduplwr.c
+++ lib/xstrduplwr.c
@@ -23,6 +23,7 @@
 # include <config.h>
 #endif
 
+#include <string.h>
 #include <sys/types.h>
 #include <ctype.h>
 
--- src/heroeslvl.c
+++ src/heroeslvl.c
@@ -435,6 +435,7 @@
     return _("pingpong");
   }
   assert (0);
+  return(0); /* added for to avoid gcc warning control reaches end of non-void function*/
 }
 
 static void
openSUSE Build Service is sponsored by