OSDN Git Service

Mark __syscall_*sigaction hidden and add guard to the header
authorPeter S. Mazinger <ps.m@gmx.net>
Tue, 28 Feb 2006 07:54:28 +0000 (07:54 -0000)
committerPeter S. Mazinger <ps.m@gmx.net>
Tue, 28 Feb 2006 07:54:28 +0000 (07:54 -0000)
libc/sysdeps/linux/alpha/bits/kernel_sigaction.h
libc/sysdeps/linux/common/bits/kernel_sigaction.h
libc/sysdeps/linux/hppa/bits/kernel_sigaction.h
libc/sysdeps/linux/mips/bits/kernel_sigaction.h

index 66b4200..d111a5f 100644 (file)
@@ -1,3 +1,6 @@
+#ifndef _BITS_SIGACTION_STRUCT_H
+#define _BITS_SIGACTION_STRUCT_H
+
 /* This is the sigaction struction from the Linux 2.1.20 kernel.  */
 
 struct old_kernel_sigaction {
@@ -15,4 +18,6 @@ struct kernel_sigaction {
 };
 
 extern int __syscall_rt_sigaction (int, const struct kernel_sigaction *__unbounded,
-       struct kernel_sigaction *__unbounded, size_t);
+       struct kernel_sigaction *__unbounded, size_t) attribute_hidden;
+
+#endif
index 5baf1e2..2fdfc89 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef _BITS_STAT_STRUCT_H
-#define _BITS_STAT_STRUCT_H
+#ifndef _BITS_SIGACTION_STRUCT_H
+#define _BITS_SIGACTION_STRUCT_H
 
 /* This file provides whatever this particular arch's kernel thinks 
  * the sigaction struct should look like... */
@@ -59,10 +59,10 @@ struct kernel_sigaction {
 
 #ifndef NO_OLD_SIGACTION
 extern int __syscall_sigaction (int, const struct old_kernel_sigaction *__unbounded,
-       struct old_kernel_sigaction *__unbounded);
+       struct old_kernel_sigaction *__unbounded) attribute_hidden;
 #endif
 
 extern int __syscall_rt_sigaction (int, const struct kernel_sigaction *__unbounded,
-       struct kernel_sigaction *__unbounded, size_t);
+       struct kernel_sigaction *__unbounded, size_t) attribute_hidden;
 
-#endif /* _BITS_STAT_STRUCT_H */
+#endif /* _BITS_SIGACTION_STRUCT_H */
index cccaabb..4ae53fd 100644 (file)
@@ -1,3 +1,6 @@
+#ifndef _BITS_SIGACTION_STRUCT_H
+#define _BITS_SIGACTION_STRUCT_H
+
 /* We have a separate header file here because we do not support
    SA_RESTORER on hppa. */
 
@@ -18,4 +21,6 @@ struct kernel_sigaction {
 };
 
 extern int __syscall_rt_sigaction (int, const struct kernel_sigaction *__unbounded,
-       struct kernel_sigaction *__unbounded, size_t);
+       struct kernel_sigaction *__unbounded, size_t) attribute_hidden;
+
+#endif
index 317e5b3..5c84548 100644 (file)
@@ -1,3 +1,6 @@
+#ifndef _BITS_SIGACTION_STRUCT_H
+#define _BITS_SIGACTION_STRUCT_H
+
 /* This is the sigaction structure from the Linux 2.1.24 kernel.  */
 
 #include <sgidefs.h>
@@ -40,4 +43,6 @@ struct kernel_sigaction {
 };
 
 extern int __syscall_rt_sigaction (int, const struct kernel_sigaction *__unbounded,
-       struct kernel_sigaction *__unbounded, size_t);
+       struct kernel_sigaction *__unbounded, size_t) attribute_hidden;
+
+#endif