From 284128f68f27567f9cad0078c97d7d807475e0a7 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sat, 3 Aug 2002 22:26:33 +0000 Subject: * include/stdlib.h: Use libc_hidden_proto for qsort. * stdlib/msort.c: Add libc_hidden_def. * include/utime.h: Use libc_hidden_proto for utime. * sysdeps/generic/utime.c: Add libc_hidden_def. * sysdeps/unix/utime.c: Likewise. * sysdeps/generic/utmp_file.c (LOCK_FILE): sigemptyset -> __sigemptyset * sysdeps/posix/profil.c (__profil): sigfillset -> __sigfillset * sysdeps/posix/sprofil.c (__sprofil): Likewise. * shadow/lckpwdf.c (__lckpwdf): Likewise (both). * sysdeps/posix/spawni.c (__spawni): sigismember -> __sigismember * include/signal.h: Use libc_hidden_proto for raise, sigemptyset, sigfillset, sigismember, __sigpause, __libc_current_sigrtmin, and __libc_current_sigrtmax. * signal/sigismem.c: Add libc_hidden_def. * signal/sigfillset.c: Likewise. * signal/sigempty.c: Likewise. * sysdeps/generic/sigpause.c (__sigpause): Likewise. * sysdeps/posix/sigpause.c (__sigpause): Likewise. * sysdeps/unix/bsd/osf/alpha/sigpause.S: Likewise. --- sysdeps/generic/utime.c | 5 ++--- sysdeps/generic/utmp_file.c | 4 ++-- sysdeps/posix/profil.c | 4 ++-- sysdeps/posix/spawni.c | 4 ++-- sysdeps/posix/sprofil.c | 4 ++-- sysdeps/unix/utime.c | 3 ++- 6 files changed, 12 insertions(+), 12 deletions(-) (limited to 'sysdeps') diff --git a/sysdeps/generic/utime.c b/sysdeps/generic/utime.c index 22de6f363a..09d0cc6679 100644 --- a/sysdeps/generic/utime.c +++ b/sysdeps/generic/utime.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1995, 1996, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1991,95,96,97,2002 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 @@ -36,8 +36,7 @@ utime (file, times) __set_errno (ENOSYS); return -1; } - - +libc_hidden_def (utime) stub_warning (utime) #include diff --git a/sysdeps/generic/utmp_file.c b/sysdeps/generic/utmp_file.c index 1f88b360c3..0baf4118e9 100644 --- a/sysdeps/generic/utmp_file.c +++ b/sysdeps/generic/utmp_file.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1996,1997,1998,1999,2000,2001 Free Software Foundation, Inc. +/* Copyright (C) 1996,97,98,99,2000,01,02 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper and Paul Janzen , 1996. @@ -57,7 +57,7 @@ static void timeout_handler (int signum) {}; \ /* Establish signal handler. */ \ action.sa_handler = timeout_handler; \ - sigemptyset (&action.sa_mask); \ + __sigemptyset (&action.sa_mask); \ action.sa_flags = 0; \ __sigaction (SIGALRM, &action, &old_action); \ \ diff --git a/sysdeps/posix/profil.c b/sysdeps/posix/profil.c index 43798aeb0b..d789c121cd 100644 --- a/sysdeps/posix/profil.c +++ b/sysdeps/posix/profil.c @@ -1,5 +1,5 @@ /* Low-level statistical profiling support function. Mostly POSIX.1 version. - Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc. + Copyright (C) 1996,97,98,2002 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 @@ -96,7 +96,7 @@ __profil (u_short *sample_buffer, size_t size, size_t offset, u_int scale) act.sa_handler = (sighandler_t) &profil_counter; act.sa_flags = SA_RESTART; - sigfillset (&act.sa_mask); + __sigfillset (&act.sa_mask); if (__sigaction (SIGPROF, &act, &oact) < 0) return -1; diff --git a/sysdeps/posix/spawni.c b/sysdeps/posix/spawni.c index 330f2192a7..a072ab77b0 100644 --- a/sysdeps/posix/spawni.c +++ b/sysdeps/posix/spawni.c @@ -1,5 +1,5 @@ /* Guts of POSIX spawn interface. Generic POSIX.1 version. - Copyright (C) 2000, 2001 Free Software Foundation, Inc. + Copyright (C) 2000,01,02 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 @@ -113,7 +113,7 @@ __spawni (pid_t *pid, const char *file, sa.sa_handler = SIG_DFL; for (sig = 1; sig <= _NSIG; ++sig) - if (sigismember (&attrp->__sd, sig) != 0 + if (__sigismember (&attrp->__sd, sig) != 0 && __sigaction (sig, &sa, NULL) != 0) _exit (SPAWN_ERROR); diff --git a/sysdeps/posix/sprofil.c b/sysdeps/posix/sprofil.c index 070daf4023..d6fdd9a316 100644 --- a/sysdeps/posix/sprofil.c +++ b/sysdeps/posix/sprofil.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2001 Free Software Foundation, Inc. +/* Copyright (C) 2001,02 Free Software Foundation, Inc. Contributed by David Mosberger-Tang . This file is part of the GNU C Library. @@ -340,7 +340,7 @@ __sprofil (struct prof *profp, int profcnt, struct timeval *tvp, else act.sa_handler = (sighandler_t) &profil_counter_ushort; act.sa_flags = SA_RESTART; - sigfillset (&act.sa_mask); + __sigfillset (&act.sa_mask); if (__sigaction (SIGPROF, &act, &prof_info.saved_action) < 0) return -1; diff --git a/sysdeps/unix/utime.c b/sysdeps/unix/utime.c index 4b1f23a497..cbfc351337 100644 --- a/sysdeps/unix/utime.c +++ b/sysdeps/unix/utime.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1994, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1991,94,97,2002 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 @@ -49,3 +49,4 @@ utime (file, times) return __utimes (file, timevals); } +libc_hidden_def (utime) -- cgit 1.4.1