pkgsrc/x11/xmove/patches/patch-ad
2005-07-20 16:03:24 +00:00

34 lines
961 B
Text

$NetBSD: patch-ad,v 1.1 2005/07/20 16:03:24 kristerw Exp $
--- xmove/main.c.orig Tue Oct 21 00:20:47 1997
+++ xmove/main.c Wed Jul 20 17:43:26 2005
@@ -42,7 +42,7 @@
#include <signal.h>
#define NEED_REPLIES
#include <X11/Xproto.h>
-#include <malloc.h>
+#include <stdlib.h>
#if defined(DL_W_PRAGMA) || defined(DL_WOUT_PRAGMA)
#include <dlfcn.h>
@@ -79,13 +79,13 @@
static void SignalTSTP P((int signum ));
static void SignalCONT P((int signum ));
#else
-static void SignalURG P((void));
-static void SignalPIPE P((void ));
-static void SignalINT P((void ));
-static void SignalQUIT P((void ));
-static void SignalTERM P((void ));
-static void SignalTSTP P((void ));
-static void SignalCONT P((void ));
+static void SignalURG P(());
+static void SignalPIPE P(());
+static void SignalINT P(());
+static void SignalQUIT P(());
+static void SignalTERM P(());
+static void SignalTSTP P(());
+static void SignalCONT P(());
#endif
extern char *getenv();