1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/emulators/frodo/files/patch-SAM.cpp
Dirk Meyer 8dba87b4b3 - let configure pick up sdl
- make portlint happier
2017-02-09 08:12:10 +00:00

21 lines
541 B
C++

--- SAM.cpp.orig 2002-01-02 21:20:16 UTC
+++ SAM.cpp
@@ -205,7 +205,7 @@ static const char adr_length[] = {1, 1,
// Prototypes
static void error(char *s);
-static void handle_abort(...);
+static void handle_abort(int sig);
static void init_abort(void);
static void exit_abort(void);
static bool aborted(void);
@@ -470,7 +470,7 @@ static bool WasAborted;
struct sigaction my_sa;
#endif
-static void handle_abort(...)
+static void handle_abort(int sig)
{
WasAborted = true;
#if !defined(HAVE_SIGACTION) && defined(HAVE_SIGNAL)