summary refs log tree commit diff
path: root/misc
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-08-04 01:29:29 +0000
committerRoland McGrath <roland@gnu.org>2002-08-04 01:29:29 +0000
commit509d1b68421a9dc02605540615d241b48bf90a13 (patch)
tree8fcc9eb3ea1bccd85b065ff79ad57c7eb3e589bb /misc
parentb38de2c8da34cf506651a5170a3d2d46292650ad (diff)
downloadglibc-509d1b68421a9dc02605540615d241b48bf90a13.tar.gz
glibc-509d1b68421a9dc02605540615d241b48bf90a13.tar.xz
glibc-509d1b68421a9dc02605540615d241b48bf90a13.zip
* include/search.h: Use libc_hidden_proto for hsearch_r, lfind.
	* misc/hsearch_r.c: Add libc_hidden_def.
	* misc/lsearch.c: Likewise.

	* include/ttyent.h: Use libc_hidden_proto for getttyent, setttyent,
	endttyent.
	* misc/getttyent.c: Add libc_hidden_def.

	* include/mcheck.h: Use libc_hidden_proto for mcheck.
	* malloc/mcheck.c: Add libc_hidden_def.

	* include/envz.h: Use libc_hidden_proto for envz_entry, enz_remove.
	* include/argz.h: Use libc_hidden_proto for argz_delete.
	* string/argz-delete.c: Add libc_hidden_def.
	* string/envz.c: Likewise.  Use <envz.h>, not "envz.h".

	* sysdeps/unix/sysv/linux/x86_64/clone.S (thread_start): Use
	HIDDEN_JUMPTARGET for _exit.
	* sysdeps/unix/sysv/linux/m68k/clone.S (thread_start): Likewise.
	* sysdeps/unix/sysv/linux/i386/clone.S (thread_start): Likewise.
	* sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
	* sysdeps/unix/_exit.S (_exit): Add libc_hidden_def.

	* include/libc-symbols.h: Fix [__ASSEMBLY__] -> [__ASSEMBLER__].
	[__ASSEMBLER__] (hidden_weak): Define using hidden_def, or to empty.
	[__ASSEMBLER__] (HIDDEN_JUMPTARGET): New macro.
	* sysdeps/unix/sysv/linux/i386/makecontext.S: Use it for exit.

	* include/stdlib.h: Use libc_hidden_proto for abort,
	__strtof_internal, __strtod_internal, __strtold_internal,
	__strtol_internal, __strtoll_internal, __strtoul_internal,
	__strtoull_internal. __strtof_l_internal, __strtod_l_internal,
	__strtold_l_internal, __strtol_l_internal, __strtoll_l_internal,
	__strtoul_l_internal, __strtoull_l_internal.
	* include/wchar.h: Use libc_hidden_proto for __wcstof_internal,
	__wcstod_internal, __wcstold_internal, __wcstol_internal,
	__wcstoll_internal, __wcstoul_internal, ____wcstof_l_internal,
	____wcstod_l_internal, ____wcstold_l_internal, ____wcstol_l_internal,
	____wcstoll_l_internal, ____wcstoul_l_internal, __wcscasecmp_l,
	__wcsncasecmp_l.
	* sysdeps/generic/abort.c: Add libc_hidden_def.
	* stdlib/strtod.c: Likewise.
	* sysdeps/generic/strtol.c: Likewise.
	* sysdeps/wordsize-64/strtol.c: Likewise.
	* sysdeps/wordsize-64/wcstol.c: Likewise.
	* sysdeps/wordsize-64/wcstol_l.c: Likewise.
Diffstat (limited to 'misc')
-rw-r--r--misc/getttyent.c3
-rw-r--r--misc/hsearch_r.c1
-rw-r--r--misc/lsearch.c3
3 files changed, 6 insertions, 1 deletions
diff --git a/misc/getttyent.c b/misc/getttyent.c
index dfc57d5ce8..1bc82e6938 100644
--- a/misc/getttyent.c
+++ b/misc/getttyent.c
@@ -133,6 +133,7 @@ getttyent()
 		*p = '\0';
 	return (&tty);
 }
+libc_hidden_def (getttyent)
 
 #define	QUOTED	1
 
@@ -198,6 +199,7 @@ setttyent()
 	}
 	return (0);
 }
+libc_hidden_def (setttyent)
 
 int
 endttyent()
@@ -211,3 +213,4 @@ endttyent()
 	}
 	return (1);
 }
+libc_hidden_def (endttyent)
diff --git a/misc/hsearch_r.c b/misc/hsearch_r.c
index a7629a5da4..d7c604cc56 100644
--- a/misc/hsearch_r.c
+++ b/misc/hsearch_r.c
@@ -224,3 +224,4 @@ hsearch_r (item, action, retval, htab)
   *retval = NULL;
   return 0;
 }
+libc_hidden_def (hsearch_r)
diff --git a/misc/lsearch.c b/misc/lsearch.c
index 3d104617ca..057ff396e1 100644
--- a/misc/lsearch.c
+++ b/misc/lsearch.c
@@ -1,5 +1,5 @@
 /* Linear search functions.
-   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.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
 
@@ -56,3 +56,4 @@ lfind (const void *key, const void *base, size_t *nmemb, size_t size,
 
   return cnt < *nmemb ? (void *) result : NULL;
 }
+libc_hidden_def (lfind)