mirror of
git://sourceware.org/git/glibc.git
synced 2025-02-23 13:09:58 +08:00
Update.
* 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.
This commit is contained in:
parent
ff44f2a57a
commit
c3d6c95199
@ -1,5 +1,11 @@
|
|||||||
1998-04-09 Ulrich Drepper <drepper@cygnus.com>
|
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.
|
* sysdeps/i386/i486/bits/string.h: Remove unused variables.
|
||||||
|
|
||||||
* misc/syslog.c (closelog_internal): Set LogTag to NULL.
|
* misc/syslog.c (closelog_internal): Set LogTag to NULL.
|
||||||
|
@ -41,6 +41,10 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef _LIBC
|
||||||
|
# include <byteswap.h>
|
||||||
|
# define SWAP(i) bswap_32 (i)
|
||||||
|
#else
|
||||||
static nls_uint32 SWAP PARAMS ((nls_uint32 i));
|
static nls_uint32 SWAP PARAMS ((nls_uint32 i));
|
||||||
|
|
||||||
static inline nls_uint32
|
static inline nls_uint32
|
||||||
@ -49,6 +53,7 @@ SWAP (i)
|
|||||||
{
|
{
|
||||||
return (i << 24) | ((i & 0xff00) << 8) | ((i >> 8) & 0xff00) | (i >> 24);
|
return (i << 24) | ((i & 0xff00) << 8) | ((i >> 8) & 0xff00) | (i >> 24);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
struct loaded_domain
|
struct loaded_domain
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* Convert string representing a number to float value, using given locale.
|
/* 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.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
|
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
|
||||||
|
|
||||||
@ -23,5 +23,7 @@
|
|||||||
#include <xlocale.h>
|
#include <xlocale.h>
|
||||||
|
|
||||||
extern double ____strtod_l_internal (const char *, char **, int, __locale_t);
|
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>
|
#include <strtod.c>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* Convert string representing a number to float value, using given locale.
|
/* 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.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
|
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
|
||||||
|
|
||||||
@ -23,5 +23,7 @@
|
|||||||
#include <xlocale.h>
|
#include <xlocale.h>
|
||||||
|
|
||||||
extern float ____strtof_l_internal (const char *, char **, int, __locale_t);
|
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>
|
#include <strtof.c>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* Convert string representing a number to float value, using given locale.
|
/* 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.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
|
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
|
||||||
|
|
||||||
@ -24,5 +24,7 @@
|
|||||||
|
|
||||||
extern long double ____strtold_l_internal (const char *, char **, int,
|
extern long double ____strtold_l_internal (const char *, char **, int,
|
||||||
__locale_t);
|
__locale_t);
|
||||||
|
extern unsigned long long int ____strtoull_l_internal (const char *, char **,
|
||||||
|
int, int, __locale_t);
|
||||||
|
|
||||||
#include <strtold.c>
|
#include <strtold.c>
|
||||||
|
Loading…
Reference in New Issue
Block a user