File fix-gcc15.patch of Package xgalaga
diff --git a/libsprite/data.c b/libsprite/data.c
index bb8758b..e9b5289 100644
--- a/libsprite/data.c
+++ b/libsprite/data.c
@@ -80,7 +80,7 @@ W_Color W_White = WHITE, W_Black = BLACK, W_Red = RED, W_Green = GREEN;
W_Color W_Yellow = YELLOW, W_Cyan = CYAN, W_Grey = LIGHT_GREY, W_DarkGrey = DARK_GREY;
int W_Textwidth, W_Textheight, W_BigTextwidth, W_BigTextheight;
#ifndef strdup
-char *strdup();
+char *strdup(const char *);
#endif
int W_in_message = 0; /* jfy -- for Jerry's warp message hack */
diff --git a/title.c b/title.c
index ee747af..9b181eb 100644
--- a/title.c
+++ b/title.c
@@ -17,9 +17,9 @@
#include "proto.h"
/* for scrolling credits */
-const LINESIZE= 70;
-const VISIBLELINES=7;
-const SPEEDFACTOR=5;
+const int LINESIZE= 70;
+const int VISIBLELINES=7;
+const int SPEEDFACTOR=5;
char *gchLBuf;
int giCreditLines=0, giActCreditLine=0;
diff --git a/xgal.sndsrv.linux.c b/xgal.sndsrv.linux.c
index 659d76c..c14a2a6 100644
--- a/xgal.sndsrv.linux.c
+++ b/xgal.sndsrv.linux.c
@@ -49,7 +49,7 @@ int fragsize;
/* Terminate: Signal Handler */
-void quit ()
+void quit (int sig)
{
exit (0);
}