summaryrefslogtreecommitdiff
path: root/sys/arch/m68k/include/signal.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2005-12-14 21:46:32 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2005-12-14 21:46:32 +0000
commit3fce9befb1d4f65739adc427683f5a6357ee102f (patch)
treebda10871810ec2e3c47c06cfa6e07b88df5efe02 /sys/arch/m68k/include/signal.h
parent6ffc06fbc8f7e1d2c6134ab0d4563b6a189b983c (diff)
convert _FOO_SOURCE -> __FOO_VISIBLE in machine. OK deraadt@
Diffstat (limited to 'sys/arch/m68k/include/signal.h')
-rw-r--r--sys/arch/m68k/include/signal.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/arch/m68k/include/signal.h b/sys/arch/m68k/include/signal.h
index 158efa5af5d..feb2c72aa68 100644
--- a/sys/arch/m68k/include/signal.h
+++ b/sys/arch/m68k/include/signal.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: signal.h,v 1.3 2003/06/02 23:27:48 millert Exp $ */
+/* $OpenBSD: signal.h,v 1.4 2005/12/14 21:46:31 millert Exp $ */
/* $NetBSD: signal.h,v 1.4 1995/01/10 19:01:31 jtc Exp $ */
/*
@@ -35,9 +35,11 @@
#ifndef _M68K_SIGNAL_H_
#define _M68K_SIGNAL_H_
+#include <sys/cdefs.h>
+
typedef int sig_atomic_t;
-#ifndef _ANSI_SOURCE
+#if __BSD_VISIBLE
/*
* Get the "code" values
*/
@@ -59,6 +61,5 @@ struct sigcontext {
int sc_pc; /* pc to restore */
int sc_ps; /* psl to restore */
};
-
-#endif /* !_ANSI_SOURCE */
+#endif /* __BSD_VISIBLE */
#endif /* !_M68K_SIGNAL_H_ */