summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorokan <okan@openbsd.org>2012-08-22 13:33:32 +0000
committerokan <okan@openbsd.org>2012-08-22 13:33:32 +0000
commit72830333c8dca0b2a2c012ee2a83cc8bb5e90ed2 (patch)
treebfb3d9f20bd20c4f41c4c26fce73365164f43ee6
parentmake this compile by adapting loongson changes to the 2.17 struct layout (diff)
downloadwireguard-openbsd-72830333c8dca0b2a2c012ee2a83cc8bb5e90ed2.tar.xz
wireguard-openbsd-72830333c8dca0b2a2c012ee2a83cc8bb5e90ed2.zip
sigpid should be of type pid_t (only visable with DEBUG).
ok miod@ (who found others to fix as well)
-rw-r--r--sys/arch/alpha/alpha/machdep.c4
-rw-r--r--sys/arch/m68k/m68k/sig_machdep.c4
-rw-r--r--sys/arch/m88k/m88k/sig_machdep.c4
-rw-r--r--sys/arch/mips64/mips64/sendsig.c4
-rw-r--r--sys/arch/solbourne/solbourne/machdep.c4
-rw-r--r--sys/arch/sparc/sparc/machdep.c4
-rw-r--r--sys/arch/sparc64/sparc64/machdep.c4
7 files changed, 14 insertions, 14 deletions
diff --git a/sys/arch/alpha/alpha/machdep.c b/sys/arch/alpha/alpha/machdep.c
index e86343e24a9..c562ff1843f 100644
--- a/sys/arch/alpha/alpha/machdep.c
+++ b/sys/arch/alpha/alpha/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.135 2011/11/25 05:23:40 miod Exp $ */
+/* $OpenBSD: machdep.c,v 1.136 2012/08/22 13:33:32 okan Exp $ */
/* $NetBSD: machdep.c,v 1.210 2000/06/01 17:12:38 thorpej Exp $ */
/*-
@@ -1403,7 +1403,7 @@ regdump(framep)
#ifdef DEBUG
int sigdebug = 0;
-int sigpid = 0;
+pid_t sigpid = 0;
#define SDB_FOLLOW 0x01
#define SDB_KSTACK 0x02
#endif
diff --git a/sys/arch/m68k/m68k/sig_machdep.c b/sys/arch/m68k/m68k/sig_machdep.c
index 9e249754ee8..eae3162703f 100644
--- a/sys/arch/m68k/m68k/sig_machdep.c
+++ b/sys/arch/m68k/m68k/sig_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sig_machdep.c,v 1.25 2011/07/05 04:48:01 guenther Exp $ */
+/* $OpenBSD: sig_machdep.c,v 1.26 2012/08/22 13:33:32 okan Exp $ */
/* $NetBSD: sig_machdep.c,v 1.3 1997/04/30 23:28:03 gwr Exp $ */
/*
@@ -109,7 +109,7 @@ struct sigframe {
#ifdef DEBUG
int sigdebug = 0;
-int sigpid = 0;
+pid_t sigpid = 0;
#define SDB_FOLLOW 0x01
#define SDB_KSTACK 0x02
#define SDB_FPSTATE 0x04
diff --git a/sys/arch/m88k/m88k/sig_machdep.c b/sys/arch/m88k/m88k/sig_machdep.c
index 7841cec5ad3..fdc7f2f3109 100644
--- a/sys/arch/m88k/m88k/sig_machdep.c
+++ b/sys/arch/m88k/m88k/sig_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sig_machdep.c,v 1.14 2012/05/09 21:25:33 miod Exp $ */
+/* $OpenBSD: sig_machdep.c,v 1.15 2012/08/22 13:33:32 okan Exp $ */
/*
* Copyright (c) 1998, 1999, 2000, 2001 Steve Murphree, Jr.
* Copyright (c) 1996 Nivas Madhur
@@ -74,7 +74,7 @@ struct sigframe {
#ifdef DEBUG
int sigdebug = 0;
-int sigpid = 0;
+pid_t sigpid = 0;
#define SDB_FOLLOW 0x01
#define SDB_KSTACK 0x02
#endif
diff --git a/sys/arch/mips64/mips64/sendsig.c b/sys/arch/mips64/mips64/sendsig.c
index d0523c26276..8d714646dcf 100644
--- a/sys/arch/mips64/mips64/sendsig.c
+++ b/sys/arch/mips64/mips64/sendsig.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sendsig.c,v 1.17 2011/07/05 04:48:01 guenther Exp $ */
+/* $OpenBSD: sendsig.c,v 1.18 2012/08/22 13:33:32 okan Exp $ */
/*
* Copyright (c) 1990 The Regents of the University of California.
@@ -89,7 +89,7 @@ struct sigframe {
#ifdef DEBUG
int sigdebug = 0;
-int sigpid = 0;
+pid_t sigpid = 0;
#define SDB_FOLLOW 0x01
#define SDB_KSTACK 0x02
#define SDB_FPSTATE 0x04
diff --git a/sys/arch/solbourne/solbourne/machdep.c b/sys/arch/solbourne/solbourne/machdep.c
index ca9b8b7f812..8a9b17f0fb1 100644
--- a/sys/arch/solbourne/solbourne/machdep.c
+++ b/sys/arch/solbourne/solbourne/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.22 2012/03/23 15:51:26 guenther Exp $ */
+/* $OpenBSD: machdep.c,v 1.23 2012/08/22 13:33:32 okan Exp $ */
/* OpenBSD: machdep.c,v 1.105 2005/04/11 15:13:01 deraadt Exp */
/*
@@ -274,7 +274,7 @@ setregs(p, pack, stack, retval)
#ifdef DEBUG
int sigdebug = 0;
-int sigpid = 0;
+pid_t sigpid = 0;
#define SDB_FOLLOW 0x01
#define SDB_KSTACK 0x02
#define SDB_FPSTATE 0x04
diff --git a/sys/arch/sparc/sparc/machdep.c b/sys/arch/sparc/sparc/machdep.c
index 338ce17d864..e74b9ecc34f 100644
--- a/sys/arch/sparc/sparc/machdep.c
+++ b/sys/arch/sparc/sparc/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.139 2012/08/21 14:44:24 jsg Exp $ */
+/* $OpenBSD: machdep.c,v 1.140 2012/08/22 13:33:32 okan Exp $ */
/* $NetBSD: machdep.c,v 1.85 1997/09/12 08:55:02 pk Exp $ */
/*
@@ -287,7 +287,7 @@ setregs(p, pack, stack, retval)
#ifdef DEBUG
int sigdebug = 0;
-int sigpid = 0;
+pid_t sigpid = 0;
#define SDB_FOLLOW 0x01
#define SDB_KSTACK 0x02
#define SDB_FPSTATE 0x04
diff --git a/sys/arch/sparc64/sparc64/machdep.c b/sys/arch/sparc64/sparc64/machdep.c
index c57d8ee93be..d037f84c91f 100644
--- a/sys/arch/sparc64/sparc64/machdep.c
+++ b/sys/arch/sparc64/sparc64/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.138 2012/05/09 18:34:21 okan Exp $ */
+/* $OpenBSD: machdep.c,v 1.139 2012/08/22 13:33:33 okan Exp $ */
/* $NetBSD: machdep.c,v 1.108 2001/07/24 19:30:14 eeh Exp $ */
/*-
@@ -349,7 +349,7 @@ setregs(p, pack, stack, retval)
#ifdef DEBUG
int sigdebug = 0;
-int sigpid = 0;
+pid_t sigpid = 0;
#define SDB_FOLLOW 0x01
#define SDB_KSTACK 0x02
#define SDB_FPSTATE 0x04