summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-09-18 17:45:54 +0000
committerRoland McGrath <roland@gnu.org>2002-09-18 17:45:54 +0000
commit5ec5c857060f48b27e3369f7d0cfa9291157b0e6 (patch)
tree226bb8b8a26ed33ed0edebd7059e66a91d921257
parente17ec21131d07fc0beda17b275ae1a9b6bfb69e3 (diff)
2002-09-18 Roland McGrath <roland@redhat.com>
* sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction): Add libc_hidden_def. * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise. * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise. * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise. * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise. * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
-rw-r--r--sysdeps/unix/sysv/linux/arm/sigaction.c2
-rw-r--r--sysdeps/unix/sysv/linux/i386/sigaction.c1
-rw-r--r--sysdeps/unix/sysv/linux/ia64/sigaction.c2
-rw-r--r--sysdeps/unix/sysv/linux/mips/sigaction.c2
-rw-r--r--sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c4
-rw-r--r--sysdeps/unix/sysv/linux/sigaction.c1
-rw-r--r--sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c2
-rw-r--r--sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c2
-rw-r--r--sysdeps/unix/sysv/linux/x86_64/sigaction.c2
9 files changed, 10 insertions, 8 deletions
diff --git a/sysdeps/unix/sysv/linux/arm/sigaction.c b/sysdeps/unix/sysv/linux/arm/sigaction.c
index a137ce7ad1..40ecb3224e 100644
--- a/sysdeps/unix/sysv/linux/arm/sigaction.c
+++ b/sysdeps/unix/sysv/linux/arm/sigaction.c
@@ -148,7 +148,7 @@ __libc_sigaction (sig, act, oact)
}
return result;
}
-
+libc_hidden_def (__libc_sigaction)
weak_alias (__libc_sigaction, __sigaction)
libc_hidden_weak (__sigaction)
weak_alias (__libc_sigaction, sigaction)
diff --git a/sysdeps/unix/sysv/linux/i386/sigaction.c b/sysdeps/unix/sysv/linux/i386/sigaction.c
index 94747211af..85a9856ed4 100644
--- a/sysdeps/unix/sysv/linux/i386/sigaction.c
+++ b/sysdeps/unix/sysv/linux/i386/sigaction.c
@@ -156,6 +156,7 @@ __libc_sigaction (int sig, const struct sigaction *act, struct sigaction *oact)
return 0;
#endif
}
+libc_hidden_def (__libc_sigaction)
#ifndef SIGCANCEL
weak_alias (__libc_sigaction, __sigaction)
diff --git a/sysdeps/unix/sysv/linux/ia64/sigaction.c b/sysdeps/unix/sysv/linux/ia64/sigaction.c
index 82cd382534..21180d5c95 100644
--- a/sysdeps/unix/sysv/linux/ia64/sigaction.c
+++ b/sysdeps/unix/sysv/linux/ia64/sigaction.c
@@ -49,7 +49,7 @@ __libc_sigaction (sig, act, oact)
return INLINE_SYSCALL (rt_sigaction, 4, sig,
CHECK_1_NULL_OK (act), CHECK_1_NULL_OK (oact), _NSIG / 8);
}
-
+libc_hidden_def (__libc_sigaction)
weak_alias (__libc_sigaction, __sigaction)
libc_hidden_def (__sigaction)
weak_alias (__libc_sigaction, sigaction)
diff --git a/sysdeps/unix/sysv/linux/mips/sigaction.c b/sysdeps/unix/sysv/linux/mips/sigaction.c
index 17f678c08b..0e5cfb7569 100644
--- a/sysdeps/unix/sysv/linux/mips/sigaction.c
+++ b/sysdeps/unix/sysv/linux/mips/sigaction.c
@@ -134,7 +134,7 @@ __libc_sigaction (sig, act, oact)
return result;
#endif
}
-
+libc_hidden_def (__libc_sigaction)
weak_alias (__libc_sigaction, __sigaction)
libc_hidden_weak (__sigaction)
weak_alias (__libc_sigaction, sigaction)
diff --git a/sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c b/sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
index 45bb167f5b..05ee189758 100644
--- a/sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
+++ b/sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
@@ -16,7 +16,7 @@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
-/* 64 bit Linux for S/390 only has rt signals, thus we do not even want to try
+/* 64 bit Linux for S/390 only has rt signals, thus we do not even want to try
falling back to the old style signals as the default Linux handler does. */
#include <errno.h>
@@ -45,7 +45,7 @@ __libc_sigaction (sig, act, oact)
real size of the user-level sigset_t. */
return INLINE_SYSCALL (rt_sigaction, 4, sig, act, oact, _NSIG / 8);
}
-
+libc_hidden_def (__libc_sigaction)
weak_alias (__libc_sigaction, __sigaction)
libc_hidden_weak (__sigaction)
weak_alias (__libc_sigaction, sigaction)
diff --git a/sysdeps/unix/sysv/linux/sigaction.c b/sysdeps/unix/sysv/linux/sigaction.c
index d8f1d260a7..0d07469e2a 100644
--- a/sysdeps/unix/sysv/linux/sigaction.c
+++ b/sysdeps/unix/sysv/linux/sigaction.c
@@ -132,6 +132,7 @@ __libc_sigaction (sig, act, oact)
return result;
#endif
}
+libc_hidden_def (__libc_sigaction)
#ifndef SIGCANCEL
weak_alias (__libc_sigaction, __sigaction)
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c b/sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
index bc2385d739..a7a5bfda92 100644
--- a/sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
+++ b/sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
@@ -134,7 +134,7 @@ __libc_sigaction (int sig, __const struct sigaction *act,
__set_errno (-ret);
return -1;
}
-
+libc_hidden_def (__libc_sigaction)
weak_alias (__libc_sigaction, __sigaction);
libc_hidden_weak (__sigaction)
weak_alias (__libc_sigaction, sigaction);
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c b/sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
index 5328623126..d69e1b3352 100644
--- a/sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
+++ b/sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
@@ -63,7 +63,7 @@ __libc_sigaction (int sig, __const struct sigaction *act,
return ret;
}
-
+libc_hidden_def (__libc_sigaction)
weak_alias (__libc_sigaction, __sigaction);
libc_hidden_weak (__sigaction)
weak_alias (__libc_sigaction, sigaction);
diff --git a/sysdeps/unix/sysv/linux/x86_64/sigaction.c b/sysdeps/unix/sysv/linux/x86_64/sigaction.c
index d6ea4d19ed..c55dea885a 100644
--- a/sysdeps/unix/sysv/linux/x86_64/sigaction.c
+++ b/sysdeps/unix/sysv/linux/x86_64/sigaction.c
@@ -73,7 +73,7 @@ __libc_sigaction (int sig, const struct sigaction *act, struct sigaction *oact)
}
return result;
}
-
+libc_hidden_def (__libc_sigaction)
weak_alias (__libc_sigaction, __sigaction)
libc_hidden_weak (__sigaction)
weak_alias (__libc_sigaction, sigaction)