aboutsummaryrefslogtreecommitdiff
path: root/stdlib
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-08-03 22:26:33 +0000
committerRoland McGrath <roland@gnu.org>2002-08-03 22:26:33 +0000
commit284128f68f27567f9cad0078c97d7d807475e0a7 (patch)
tree85c0285122d1f409fabc0a440477309855bd6dab /stdlib
parent5841dad9e3379f74568d9650d4b28a0129715c61 (diff)
downloadglibc-284128f68f27567f9cad0078c97d7d807475e0a7.tar
glibc-284128f68f27567f9cad0078c97d7d807475e0a7.tar.gz
glibc-284128f68f27567f9cad0078c97d7d807475e0a7.tar.bz2
glibc-284128f68f27567f9cad0078c97d7d807475e0a7.zip
* 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.
Diffstat (limited to 'stdlib')
-rw-r--r--stdlib/msort.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/stdlib/msort.c b/stdlib/msort.c
index 3668370cd5..880c5d1e3d 100644
--- a/stdlib/msort.c
+++ b/stdlib/msort.c
@@ -1,6 +1,6 @@
/* An alternative to qsort, with an identical interface.
This file is part of the GNU C Library.
- Copyright (C) 1992, 1995-1997, 1999, 2000, 2001 Free Software Foundation, Inc.
+ Copyright (C) 1992,95-97,99,2000,01,02 Free Software Foundation, Inc.
Written by Mike Haertel, September 1988.
The GNU C Library is free software; you can redistribute it and/or
@@ -93,7 +93,7 @@ qsort (void *b, size_t n, size_t s, __compar_fn_t cmp)
if (size < 1024)
{
void *buf = __alloca (size);
-
+
/* The temporary array is small, so put it on the stack. */
msort_with_tmp (b, n, s, cmp, buf);
}
@@ -153,3 +153,4 @@ qsort (void *b, size_t n, size_t s, __compar_fn_t cmp)
}
}
}
+libc_hidden_def (qsort)