summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/arm
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-09-01 16:37:14 +0000
committerUlrich Drepper <drepper@redhat.com>1999-09-01 16:37:14 +0000
commit86352425c2fd7b0a5a007211517c34642ec328d6 (patch)
treee5cf9c0a70d1647ceb880eba3566b57ed744d591 /sysdeps/unix/sysv/linux/arm
parent52bc074fec2a0e606b69f6d94198a6cbcb044442 (diff)
Update.
1999-08-31 Scott Bambrough <scottb@netwinder.org> * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Enclose header in an #ifdef statement to prevent it from being included twice. * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: #include <bits/armsigctx.h>.
Diffstat (limited to 'sysdeps/unix/sysv/linux/arm')
-rw-r--r--sysdeps/unix/sysv/linux/arm/bits/armsigctx.h7
-rw-r--r--sysdeps/unix/sysv/linux/arm/sigcontextinfo.h2
2 files changed, 8 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/arm/bits/armsigctx.h b/sysdeps/unix/sysv/linux/arm/bits/armsigctx.h
index ba78c03a89..3435a961bc 100644
--- a/sysdeps/unix/sysv/linux/arm/bits/armsigctx.h
+++ b/sysdeps/unix/sysv/linux/arm/bits/armsigctx.h
@@ -1,5 +1,5 @@
/* Definition of `struct sigcontext' for Linux/ARM
- Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.
+ Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -21,6 +21,9 @@
Fortunately 2.0 puts a magic number in the first word and this is not
a legal value for `trap_no', so we can tell them apart. */
+#ifndef __ARMSIGCTX_H
+#define __ARMSIGCTX_H 1
+
#include <asm/ptrace.h>
union k_sigcontext
@@ -59,3 +62,5 @@ union k_sigcontext
};
#define SIGCONTEXT_2_0_MAGIC 0x4B534154
+
+#endif /* bits/armsigctx.h */
diff --git a/sysdeps/unix/sysv/linux/arm/sigcontextinfo.h b/sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
index 51788e0e51..7f6ecbdee1 100644
--- a/sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
+++ b/sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
@@ -17,6 +17,8 @@
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#include <bits/armsigctx.h>
+
#define SIGCONTEXT int _a2, int _a3, int _a4, union k_sigcontext
#define SIGCONTEXT_EXTRA_ARGS _a2, _a3, _a4,