]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Thu, 9 Apr 1998 21:07:26 +0000 (21:07 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 9 Apr 1998 21:07:26 +0000 (21:07 +0000)
* stdlib/strtof_l.c: Declare ____strtoull_l_internal.
* stdlib/strtod_l.c: Likewise.
* stdlib/strtold_l.c: Likewise.

* intl/gettextP.h [_LIBC] (SWAP): Use byteswap.h macros.

ChangeLog
intl/gettextP.h
stdlib/strtod_l.c
stdlib/strtof_l.c
stdlib/strtold_l.c

index 644b500a7e1298049af0ea2c4eb0f103fc8568e0..2464b22a9449669035ceca1576fedb37e8314186 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 1998-04-09  Ulrich Drepper  <drepper@cygnus.com>
 
+       * stdlib/strtof_l.c: Declare ____strtoull_l_internal.
+       * stdlib/strtod_l.c: Likewise.
+       * stdlib/strtold_l.c: Likewise.
+
+       * intl/gettextP.h [_LIBC] (SWAP): Use byteswap.h macros.
+
        * sysdeps/i386/i486/bits/string.h: Remove unused variables.
 
        * misc/syslog.c (closelog_internal): Set LogTag to NULL.
index fd2547b2c737c71b483a0d9ef733a1f7274900bb..bcbe2720a7c15236044986b109eed79a6c83f4a8 100644 (file)
 #endif
 
 
+#ifdef _LIBC
+# include <byteswap.h>
+# define SWAP(i) bswap_32 (i)
+#else
 static nls_uint32 SWAP PARAMS ((nls_uint32 i));
 
 static inline nls_uint32
@@ -49,6 +53,7 @@ SWAP (i)
 {
   return (i << 24) | ((i & 0xff00) << 8) | ((i >> 8) & 0xff00) | (i >> 24);
 }
+#endif
 
 
 struct loaded_domain
index 451168fce4ec63f07b11a29f4914d06b958b60be..2f40a30ec29ccdfdb75161572f386e82ba5de20c 100644 (file)
@@ -1,5 +1,5 @@
 /* Convert string representing a number to float value, using given locale.
-   Copyright (C) 1997 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1998 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
 
@@ -23,5 +23,7 @@
 #include <xlocale.h>
 
 extern double ____strtod_l_internal (const char *, char **, int, __locale_t);
+extern unsigned long long int ____strtoull_l_internal (const char *, char **,
+                                                      int, int, __locale_t);
 
 #include <strtod.c>
index 67f1360cbd644819e413db8690f72117a090131e..6e3f960525eb90020ef771e0098a6ee334cb397a 100644 (file)
@@ -1,5 +1,5 @@
 /* Convert string representing a number to float value, using given locale.
-   Copyright (C) 1997 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1998 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
 
@@ -23,5 +23,7 @@
 #include <xlocale.h>
 
 extern float ____strtof_l_internal (const char *, char **, int, __locale_t);
+extern unsigned long long int ____strtoull_l_internal (const char *, char **,
+                                                      int, int, __locale_t);
 
 #include <strtof.c>
index 8f2fe3274dcf40342ec31e145ed334c67b89949b..2a1f1f5054c4ecbe63bb803e32f0e25f0f11c3da 100644 (file)
@@ -1,5 +1,5 @@
 /* Convert string representing a number to float value, using given locale.
-   Copyright (C) 1997 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1998 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
 
@@ -24,5 +24,7 @@
 
 extern long double ____strtold_l_internal (const char *, char **, int,
                                           __locale_t);
+extern unsigned long long int ____strtoull_l_internal (const char *, char **,
+                                                      int, int, __locale_t);
 
 #include <strtold.c>