File fix.patch of Package pmars
Date: 2025-12-02 Author: Bernhard M. Wiedemann <bwiedemann@suse.de> fix 2 compile problems with gcc-15 diff --git a/src/global.h b/src/global.h index f8a9bee..3cd94f5 100644 --- a/src/global.h +++ b/src/global.h @@ -412,7 +412,6 @@ extern int score(int warnum); extern void sort_by_score(int *idxV, int *scrV); extern int deaths(int warnum); extern void results(FILE * outp); -extern void sort_by_score(); extern void Exit(int code); extern void reset_regs(void); extern void set_reg(char regChr, long val); diff --git a/src/xwindisp.c b/src/xwindisp.c index 46a79d2..f758ba8 100644 --- a/src/xwindisp.c +++ b/src/xwindisp.c @@ -178,6 +178,7 @@ extern char *colorNotFound; extern char *noColorAvailable; extern char *privateMap; extern char *invalidGeom; +extern void sighandler(int dummy); /* nice macros for displaying/hiding the cursor */ #define cursoron() xWin_outtextxy(posx, posy, "_")