about summary refs log tree commit diff
path: root/sysdeps/generic/glob.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-08-05 00:43:00 +0000
committerUlrich Drepper <drepper@redhat.com>2002-08-05 00:43:00 +0000
commit855efb5f6ff9bef07b6faee4294e65517c5f7866 (patch)
tree7d0811e10945ba672717699914a07dff7a207652 /sysdeps/generic/glob.c
parent230491f02c51bcc0e195491703e3d48ca8778743 (diff)
downloadglibc-855efb5f6ff9bef07b6faee4294e65517c5f7866.tar.gz
glibc-855efb5f6ff9bef07b6faee4294e65517c5f7866.tar.xz
glibc-855efb5f6ff9bef07b6faee4294e65517c5f7866.zip
Update.
2002-08-04  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/generic/glob.c (glob, globfree): Only use libc_hidden_def
	if glob resp. globfree are not macros.
	* sysdeps/gnu/glob64.c (globfree64): Add libc_hidden_def.
	* sysdeps/unix/sysv/linux/alpha/glob.c (glob, globfree, globfree64):
	Add libc_hidden_ver.
	* sysdeps/unix/sysv/linux/i386/glob64.c (globfree64): Add
	libc_hidden_def.
	* sysdeps/wordsize-64/glob.c (globfree64): Use libc_hidden_ver
	instead of libc_hidden_weak.
	* sysdeps/wordsize-64/strtol.c (__strtoll_internal): Use
	libc_hidden_ver instead of libc_hidden_def.
	* sysdeps/wordsize-64/wcstol.c (__wcstoll_internal): Use
	libc_hidden_ver instead of libc_hidden_def.
	(wcstoll, wcstoq): Remove libc_hidden_weak.
	* sysdeps/wordsize-64/strtol_l.c (____strtoll_l_internal): Add
	libc_hidden_ver.
	* sysdeps/wordsize-64/strtoul.c (__strtoull_internal): Add
	libc_hidden_ver.
	* sysdeps/wordsize-64/strtoul_l.c (____strtoull_l_internal): Add
	libc_hidden_ver.
	* sysdeps/wordsize-64/wcstoul.c (__wcstoull_internal): Add
	libc_hidden_ver.
Diffstat (limited to 'sysdeps/generic/glob.c')
-rw-r--r--sysdeps/generic/glob.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/generic/glob.c b/sysdeps/generic/glob.c
index aca6e898a1..ce9c3d806f 100644
--- a/sysdeps/generic/glob.c
+++ b/sysdeps/generic/glob.c
@@ -1064,7 +1064,7 @@ glob (pattern, flags, errfunc, pglob)
 
   return 0;
 }
-#ifdef _LIBC
+#if defined _LIBC && !defined glob
 libc_hidden_def (glob)
 #endif
 
@@ -1085,7 +1085,7 @@ globfree (pglob)
       free ((__ptr_t) pglob->gl_pathv);
     }
 }
-#ifdef _LIBC
+#if defined _LIBC && !defined globfree
 libc_hidden_def (globfree)
 #endif