summaryrefslogtreecommitdiff
path: root/sys/arch/powerpc/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/powerpc/include/signal.h
parent6ffc06fbc8f7e1d2c6134ab0d4563b6a189b983c (diff)
convert _FOO_SOURCE -> __FOO_VISIBLE in machine. OK deraadt@
Diffstat (limited to 'sys/arch/powerpc/include/signal.h')
-rw-r--r--sys/arch/powerpc/include/signal.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/powerpc/include/signal.h b/sys/arch/powerpc/include/signal.h
index 46067127310..d25ec5e6fe6 100644
--- a/sys/arch/powerpc/include/signal.h
+++ b/sys/arch/powerpc/include/signal.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: signal.h,v 1.4 2001/09/01 15:49:05 drahn Exp $ */
+/* $OpenBSD: signal.h,v 1.5 2005/12/14 21:46:31 millert Exp $ */
/* $NetBSD: signal.h,v 1.1 1996/09/30 16:34:34 ws Exp $ */
/*
@@ -34,8 +34,11 @@
#ifndef _POWERPC_SIGNAL_H_
#define _POWERPC_SIGNAL_H_
+#include <sys/cdefs.h>
+
typedef int sig_atomic_t;
+#if __BSD_VISIBLE
#include <machine/types.h>
/*
@@ -65,4 +68,5 @@ struct sigcontext {
int sc_mask; /* saved signal mask */
struct trapframe sc_frame; /* saved registers */
};
+#endif /* __BSD_VISIBLE */
#endif /* _POWERPC_SIGNAL_H_ */