mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-23 19:30:10 +00:00
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.
This commit is contained in:
parent
e17ec21131
commit
5ec5c85706
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -132,6 +132,7 @@ __libc_sigaction (sig, act, oact)
|
||||
return result;
|
||||
#endif
|
||||
}
|
||||
libc_hidden_def (__libc_sigaction)
|
||||
|
||||
#ifndef SIGCANCEL
|
||||
weak_alias (__libc_sigaction, __sigaction)
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user