about summary refs log tree commit diff
path: root/sysdeps/generic/strtoll.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-02-15 17:05:59 +0000
committerUlrich Drepper <drepper@redhat.com>2001-02-15 17:05:59 +0000
commit581cc571c245053ef02c3ba7331fd454f0b6a40b (patch)
tree07fd4f8e6f19607e9479a967f9495d0b86a9a6f9 /sysdeps/generic/strtoll.c
parent8a216c1bd82f923812cb8a08db95c6558ca37c3c (diff)
downloadglibc-581cc571c245053ef02c3ba7331fd454f0b6a40b.tar.gz
glibc-581cc571c245053ef02c3ba7331fd454f0b6a40b.tar.xz
glibc-581cc571c245053ef02c3ba7331fd454f0b6a40b.zip
Update.
2001-02-15  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/generic/strtoll.c: Don't export __strto*_internal as
	default symbol.
	* sysdeps/generic/strtoull.c: Likewise.
Diffstat (limited to 'sysdeps/generic/strtoll.c')
-rw-r--r--sysdeps/generic/strtoll.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/sysdeps/generic/strtoll.c b/sysdeps/generic/strtoll.c
index cfa98c841f..0163a758d5 100644
--- a/sysdeps/generic/strtoll.c
+++ b/sysdeps/generic/strtoll.c
@@ -1,5 +1,5 @@
 /* Function to parse a `long long int' from text.
-   Copyright (C) 1995, 1996, 1997, 1999 Free Software Foundation, Inc.
+   Copyright (C) 1995, 1996, 1997, 1999, 2001 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
@@ -21,5 +21,11 @@
 
 #include <strtol.c>
 
-strong_alias (__strtoll_internal, __strtoq_internal)
+#ifdef _LIBC
+# ifdef SHARED
+#  include <shlib-compat.h>
+
+compat_symbol (libc, __strtoll_internal, __strtoq_internal, GLIBC_2_0);
+# endif
 weak_alias (strtoll, strtoq)
+#endif