From eb96ffb07d0b1b23ecfaf9520d6757c7dbea0bd1 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Tue, 20 Mar 2012 16:00:23 -0700 Subject: Move stdio-common/_itoa.h to sysdeps/generic --- ChangeLog | 64 +++++++++++++++ debug/backtracesymsfd.c | 2 +- debug/segfault.c | 2 +- elf/dl-cache.c | 2 +- elf/dl-minimal.c | 2 +- elf/dl-misc.c | 2 +- elf/dl-sysdep.c | 2 +- elf/dl-version.c | 2 +- elf/rtld.c | 2 +- hurd/hurdsock.c | 2 +- hurd/lookup-retry.c | 2 +- malloc/malloc.c | 2 +- malloc/mtrace.c | 2 +- nscd/nscd_getgr_r.c | 2 +- nscd/nscd_getpw_r.c | 2 +- nscd/nscd_getserv_r.c | 2 +- posix/getopt_init.c | 2 +- posix/wordexp.c | 2 +- stdio-common/_itoa.c | 2 +- stdio-common/_itoa.h | 92 ---------------------- stdio-common/_itowa.c | 2 +- stdio-common/printf_fphex.c | 4 +- stdio-common/vfprintf.c | 4 +- string/_strerror.c | 2 +- sysdeps/generic/_itoa.h | 92 ++++++++++++++++++++++ sysdeps/generic/elf/backtracesymsfd.c | 2 +- sysdeps/i386/i686/hp-timing.h | 2 +- sysdeps/mach/_strerror.c | 2 +- sysdeps/mach/hurd/powerpc/register-dump.h | 2 +- sysdeps/mach/hurd/sethostid.c | 2 +- sysdeps/mach/hurd/xmknodat.c | 2 +- sysdeps/mach/xpg-strerror.c | 2 +- sysdeps/powerpc/powerpc32/dl-machine.c | 2 +- sysdeps/powerpc/powerpc32/power4/hp-timing.h | 2 +- sysdeps/powerpc/powerpc32/register-dump.h | 2 +- sysdeps/powerpc/powerpc64/dl-machine.c | 2 +- sysdeps/powerpc/powerpc64/hp-timing.h | 2 +- sysdeps/powerpc/powerpc64/register-dump.h | 2 +- sysdeps/sparc/sparc32/sparcv9/hp-timing.h | 2 +- sysdeps/sparc/sparc64/hp-timing.h | 2 +- sysdeps/unix/sysv/linux/fd_to_filename.h | 2 +- sysdeps/unix/sysv/linux/futimes.c | 2 +- sysdeps/unix/sysv/linux/i386/register-dump.h | 2 +- sysdeps/unix/sysv/linux/ptsname.c | 2 +- .../unix/sysv/linux/s390/s390-32/register-dump.h | 2 +- .../unix/sysv/linux/s390/s390-64/register-dump.h | 2 +- sysdeps/unix/sysv/linux/sh/sh3/register-dump.h | 2 +- sysdeps/unix/sysv/linux/sh/sh4/register-dump.h | 2 +- .../unix/sysv/linux/sparc/sparc32/register-dump.h | 2 +- .../unix/sysv/linux/sparc/sparc64/register-dump.h | 2 +- sysdeps/unix/sysv/linux/ttyname.c | 2 +- sysdeps/unix/sysv/linux/ttyname_r.c | 2 +- sysdeps/unix/sysv/linux/x86_64/register-dump.h | 2 +- 53 files changed, 208 insertions(+), 144 deletions(-) delete mode 100644 stdio-common/_itoa.h create mode 100644 sysdeps/generic/_itoa.h diff --git a/ChangeLog b/ChangeLog index 268d0ac846..edac2dc045 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,67 @@ +2012-03-20 H.J. Lu + + * debug/backtracesymsfd.c: Include <_itoa.h> instead of + . + * debug/segfault.c: Likewise. + * elf/dl-cache.c: Likewise. + * elf/dl-minimal.c: Likewise. + * elf/dl-misc.c: Likewise. + * elf/dl-sysdep.c: Likewise. + * elf/dl-version.c: Likewise. + * elf/rtld.c: Likewise. + * hurd/hurdsock.c: Likewise. + * hurd/lookup-retry.c: Likewise. + * malloc/malloc.c: Likewise. + * malloc/mtrace.c: Likewise. + * nscd/nscd_getgr_r.c: Likewise. + * nscd/nscd_getpw_r.c: Likewise. + * nscd/nscd_getserv_r.c: Likewise. + * posix/getopt_init.c: Likewise. + * posix/wordexp.c: Likewise. + * stdio-common/_itoa.c: Likewise. + * stdio-common/printf_fphex.c: Likewise. + * stdio-common/vfprintf.c: Likewise. + * string/_strerror.c: Likewise. + * sysdeps/generic/elf/backtracesymsfd.c: Likewise. + * sysdeps/i386/i686/hp-timing.h: Likewise. + * sysdeps/mach/_strerror.c: Likewise. + * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise. + * sysdeps/mach/hurd/sethostid.c: Likewise. + * sysdeps/mach/hurd/xmknodat.c: Likewise. + * sysdeps/mach/xpg-strerror.c: Likewise. + * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise. + * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise. + * sysdeps/powerpc/powerpc32/register-dump.h: Likewise. + * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise. + * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise. + * sysdeps/powerpc/powerpc64/register-dump.h: Likewise. + * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise. + * sysdeps/sparc/sparc64/hp-timing.h: Likewise. + * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise. + * sysdeps/unix/sysv/linux/futimes.c: Likewise. + * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise. + * sysdeps/unix/sysv/linux/ptsname.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise. + * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise. + * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise. + * sysdeps/unix/sysv/linux/ttyname.c: Likewise. + * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise. + * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise. + + * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h". + + * stdio-common/_itoa.h: Moved to ... + * sysdeps/generic/_itoa.h: Here. + + * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h". + + * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h> + instead of "_itoa.h" and "_itowa.h". + * stdio-common/vfprintf.: Likewise. + 2012-03-20 H.J. Lu * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include diff --git a/debug/backtracesymsfd.c b/debug/backtracesymsfd.c index fe247d8cc8..2345853d80 100644 --- a/debug/backtracesymsfd.c +++ b/debug/backtracesymsfd.c @@ -21,7 +21,7 @@ #include #include -#include +#include <_itoa.h> #include #if __ELF_NATIVE_CLASS == 32 diff --git a/debug/segfault.c b/debug/segfault.c index 18f811580b..98886dbf15 100644 --- a/debug/segfault.c +++ b/debug/segfault.c @@ -29,7 +29,7 @@ #include #include #include -#include +#include <_itoa.h> #include #include diff --git a/elf/dl-cache.c b/elf/dl-cache.c index 2e6f88b326..0357dffc42 100644 --- a/elf/dl-cache.c +++ b/elf/dl-cache.c @@ -24,7 +24,7 @@ #include #include -#include +#include <_itoa.h> #ifndef _DL_PLATFORMS_COUNT # define _DL_PLATFORMS_COUNT 0 diff --git a/elf/dl-minimal.c b/elf/dl-minimal.c index 3a984afb1c..316de99b8f 100644 --- a/elf/dl-minimal.c +++ b/elf/dl-minimal.c @@ -26,7 +26,7 @@ #include #include #include -#include +#include <_itoa.h> #include diff --git a/elf/dl-misc.c b/elf/dl-misc.c index 9bf642daaa..22fbba38d4 100644 --- a/elf/dl-misc.c +++ b/elf/dl-misc.c @@ -30,7 +30,7 @@ #include #include #include -#include +#include <_itoa.h> #include /* Read the whole contents of FILE into new mmap'd space with given diff --git a/elf/dl-sysdep.c b/elf/dl-sysdep.c index 0920cc155a..1cb4460a02 100644 --- a/elf/dl-sysdep.c +++ b/elf/dl-sysdep.c @@ -29,7 +29,7 @@ #include #include #include -#include +#include <_itoa.h> #include #include diff --git a/elf/dl-version.c b/elf/dl-version.c index e314e02d07..af7f89960d 100644 --- a/elf/dl-version.c +++ b/elf/dl-version.c @@ -23,7 +23,7 @@ #include #include #include -#include +#include <_itoa.h> #include diff --git a/elf/rtld.c b/elf/rtld.c index 3e15447f7a..1cc9cf3fe5 100644 --- a/elf/rtld.c +++ b/elf/rtld.c @@ -27,7 +27,7 @@ #include #include #include -#include +#include <_itoa.h> #include #include #include diff --git a/hurd/hurdsock.c b/hurd/hurdsock.c index 170a3f6185..f3611ecf27 100644 --- a/hurd/hurdsock.c +++ b/hurd/hurdsock.c @@ -22,7 +22,7 @@ #include #include #include -#include "stdio-common/_itoa.h" +#include <_itoa.h> #include /* For `struct mutex'. */ #include "hurdmalloc.h" /* XXX */ diff --git a/hurd/lookup-retry.c b/hurd/lookup-retry.c index c65eb5ad57..3c506a043a 100644 --- a/hurd/lookup-retry.c +++ b/hurd/lookup-retry.c @@ -24,7 +24,7 @@ #include #include #include -#include "stdio-common/_itoa.h" +#include <_itoa.h> /* Translate the error from dir_lookup into the error the user sees. */ static inline error_t diff --git a/malloc/malloc.c b/malloc/malloc.c index d7d79e03fa..79cdc52330 100644 --- a/malloc/malloc.c +++ b/malloc/malloc.c @@ -218,7 +218,7 @@ #include #include -#include +#include <_itoa.h> #include #include diff --git a/malloc/mtrace.c b/malloc/mtrace.c index 67e3e44336..e299a16239 100644 --- a/malloc/mtrace.c +++ b/malloc/mtrace.c @@ -31,7 +31,7 @@ #include #include -#include +#include <_itoa.h> #include diff --git a/nscd/nscd_getgr_r.c b/nscd/nscd_getgr_r.c index ac3d85fc39..54372e4ef0 100644 --- a/nscd/nscd_getgr_r.c +++ b/nscd/nscd_getgr_r.c @@ -31,7 +31,7 @@ #include #include #include -#include +#include <_itoa.h> #include "nscd-client.h" #include "nscd_proto.h" diff --git a/nscd/nscd_getpw_r.c b/nscd/nscd_getpw_r.c index 409b672ee0..e405057d16 100644 --- a/nscd/nscd_getpw_r.c +++ b/nscd/nscd_getpw_r.c @@ -30,7 +30,7 @@ #include #include #include -#include +#include <_itoa.h> #include "nscd-client.h" #include "nscd_proto.h" diff --git a/nscd/nscd_getserv_r.c b/nscd/nscd_getserv_r.c index ff85d8299f..acf7e22f82 100644 --- a/nscd/nscd_getserv_r.c +++ b/nscd/nscd_getserv_r.c @@ -20,7 +20,7 @@ #include #include #include -#include +#include <_itoa.h> #include "nscd-client.h" #include "nscd_proto.h" diff --git a/posix/getopt_init.c b/posix/getopt_init.c index 9bcbd9c00d..55003d4b7e 100644 --- a/posix/getopt_init.c +++ b/posix/getopt_init.c @@ -27,7 +27,7 @@ #include #include -#include +#include <_itoa.h> /* Variable to synchronize work. */ char *__getopt_nonoption_flags; diff --git a/posix/wordexp.c b/posix/wordexp.c index ece5109ae9..5ace13720b 100644 --- a/posix/wordexp.c +++ b/posix/wordexp.c @@ -42,7 +42,7 @@ #include #include -#include +#include <_itoa.h> /* Undefine the following line for the production version. */ /* #define NDEBUG 1 */ diff --git a/stdio-common/_itoa.c b/stdio-common/_itoa.c index e52f666ffa..3dfff8ff64 100644 --- a/stdio-common/_itoa.c +++ b/stdio-common/_itoa.c @@ -25,7 +25,7 @@ #include #include -#include "_itoa.h" +#include <_itoa.h> /* Canonize environment. For some architectures not all values might diff --git a/stdio-common/_itoa.h b/stdio-common/_itoa.h deleted file mode 100644 index 8870ee0286..0000000000 --- a/stdio-common/_itoa.h +++ /dev/null @@ -1,92 +0,0 @@ -/* Internal function for converting integers to ASCII. - Copyright (C) 1994-1999,2002,2003,2007 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 - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - The GNU C Library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with the GNU C Library; if not, see - . */ - -#ifndef _ITOA_H -#define _ITOA_H - -#include - -/* Convert VALUE into ASCII in base BASE (2..36). - Write backwards starting the character just before BUFLIM. - Return the address of the first (left-to-right) character in the number. - Use upper case letters iff UPPER_CASE is nonzero. */ - -extern char *_itoa (unsigned long long int value, char *buflim, - unsigned int base, int upper_case); - -extern const char _itoa_upper_digits[]; -extern const char _itoa_upper_digits_internal[] attribute_hidden; -extern const char _itoa_lower_digits[]; -extern const char _itoa_lower_digits_internal[] attribute_hidden; - -#ifndef NOT_IN_libc -extern char *_itoa_word (unsigned long value, char *buflim, - unsigned int base, int upper_case); -#else -static inline char * __attribute__ ((unused, always_inline)) -_itoa_word (unsigned long value, char *buflim, - unsigned int base, int upper_case) -{ - const char *digits = (upper_case -# if defined IS_IN_rtld - ? INTUSE(_itoa_upper_digits) - : INTUSE(_itoa_lower_digits) -# else - ? _itoa_upper_digits - : _itoa_lower_digits -# endif - ); - - switch (base) - { -# define SPECIAL(Base) \ - case Base: \ - do \ - *--buflim = digits[value % Base]; \ - while ((value /= Base) != 0); \ - break - - SPECIAL (10); - SPECIAL (16); - SPECIAL (8); - default: - do - *--buflim = digits[value % base]; - while ((value /= base) != 0); - } - return buflim; -} -# undef SPECIAL -#endif - -/* Similar to the _itoa functions, but output starts at buf and pointer - after the last written character is returned. */ -extern char *_fitoa_word (unsigned long value, char *buf, unsigned int base, - int upper_case) attribute_hidden; -extern char *_fitoa (unsigned long long value, char *buf, unsigned int base, - int upper_case) attribute_hidden; - -#if LONG_MAX == LLONG_MAX -/* No need for special long long versions. */ -# define _itoa(value, buf, base, upper_case) \ - _itoa_word (value, buf, base, upper_case) -# define _fitoa(value, buf, base, upper_case) \ - _fitoa_word (value, buf, base, upper_case) -#endif - -#endif /* itoa.h */ diff --git a/stdio-common/_itowa.c b/stdio-common/_itowa.c index 8047c877c9..1ebc712b43 100644 --- a/stdio-common/_itowa.c +++ b/stdio-common/_itowa.c @@ -24,7 +24,7 @@ #include #include -#include "_itowa.h" +#include <_itowa.h> /* Canonize environment. For some architectures not all values might diff --git a/stdio-common/printf_fphex.c b/stdio-common/printf_fphex.c index 01142f9f6d..97ed83be98 100644 --- a/stdio-common/printf_fphex.c +++ b/stdio-common/printf_fphex.c @@ -25,8 +25,8 @@ #include #include #include -#include "_itoa.h" -#include "_itowa.h" +#include <_itoa.h> +#include <_itowa.h> #include /* #define NDEBUG 1*/ /* Undefine this for debugging assertions. */ diff --git a/stdio-common/vfprintf.c b/stdio-common/vfprintf.c index e454927bfd..1e904833a3 100644 --- a/stdio-common/vfprintf.c +++ b/stdio-common/vfprintf.c @@ -26,7 +26,7 @@ #include #include #include -#include "_itoa.h" +#include <_itoa.h> #include #include @@ -102,7 +102,7 @@ # define ISDIGIT(Ch) ((unsigned int) ((Ch) - L'0') < 10) # define STR_LEN(Str) __wcslen (Str) -# include "_itowa.h" +# include <_itowa.h> # define PUT(F, S, N) _IO_sputn ((F), (S), (N)) # define PAD(Padchar) \ diff --git a/string/_strerror.c b/string/_strerror.c index 87540797d9..6af622634f 100644 --- a/string/_strerror.c +++ b/string/_strerror.c @@ -22,7 +22,7 @@ #include #include #include -#include +#include <_itoa.h> /* It is critical here that we always use the `dcgettext' function for the message translation. Since only defines the macro diff --git a/sysdeps/generic/_itoa.h b/sysdeps/generic/_itoa.h new file mode 100644 index 0000000000..8870ee0286 --- /dev/null +++ b/sysdeps/generic/_itoa.h @@ -0,0 +1,92 @@ +/* Internal function for converting integers to ASCII. + Copyright (C) 1994-1999,2002,2003,2007 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 + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with the GNU C Library; if not, see + . */ + +#ifndef _ITOA_H +#define _ITOA_H + +#include + +/* Convert VALUE into ASCII in base BASE (2..36). + Write backwards starting the character just before BUFLIM. + Return the address of the first (left-to-right) character in the number. + Use upper case letters iff UPPER_CASE is nonzero. */ + +extern char *_itoa (unsigned long long int value, char *buflim, + unsigned int base, int upper_case); + +extern const char _itoa_upper_digits[]; +extern const char _itoa_upper_digits_internal[] attribute_hidden; +extern const char _itoa_lower_digits[]; +extern const char _itoa_lower_digits_internal[] attribute_hidden; + +#ifndef NOT_IN_libc +extern char *_itoa_word (unsigned long value, char *buflim, + unsigned int base, int upper_case); +#else +static inline char * __attribute__ ((unused, always_inline)) +_itoa_word (unsigned long value, char *buflim, + unsigned int base, int upper_case) +{ + const char *digits = (upper_case +# if defined IS_IN_rtld + ? INTUSE(_itoa_upper_digits) + : INTUSE(_itoa_lower_digits) +# else + ? _itoa_upper_digits + : _itoa_lower_digits +# endif + ); + + switch (base) + { +# define SPECIAL(Base) \ + case Base: \ + do \ + *--buflim = digits[value % Base]; \ + while ((value /= Base) != 0); \ + break + + SPECIAL (10); + SPECIAL (16); + SPECIAL (8); + default: + do + *--buflim = digits[value % base]; + while ((value /= base) != 0); + } + return buflim; +} +# undef SPECIAL +#endif + +/* Similar to the _itoa functions, but output starts at buf and pointer + after the last written character is returned. */ +extern char *_fitoa_word (unsigned long value, char *buf, unsigned int base, + int upper_case) attribute_hidden; +extern char *_fitoa (unsigned long long value, char *buf, unsigned int base, + int upper_case) attribute_hidden; + +#if LONG_MAX == LLONG_MAX +/* No need for special long long versions. */ +# define _itoa(value, buf, base, upper_case) \ + _itoa_word (value, buf, base, upper_case) +# define _fitoa(value, buf, base, upper_case) \ + _fitoa_word (value, buf, base, upper_case) +#endif + +#endif /* itoa.h */ diff --git a/sysdeps/generic/elf/backtracesymsfd.c b/sysdeps/generic/elf/backtracesymsfd.c index 8b4a836ce9..3562c50a78 100644 --- a/sysdeps/generic/elf/backtracesymsfd.c +++ b/sysdeps/generic/elf/backtracesymsfd.c @@ -21,7 +21,7 @@ #include #include -#include +#include <_itoa.h> #include #if __ELF_NATIVE_CLASS == 32 diff --git a/sysdeps/i386/i686/hp-timing.h b/sysdeps/i386/i686/hp-timing.h index 852f77820f..1d8684ce20 100644 --- a/sysdeps/i386/i686/hp-timing.h +++ b/sysdeps/i386/i686/hp-timing.h @@ -22,7 +22,7 @@ #include #include -#include +#include <_itoa.h> /* The macros defined here use the timestamp counter in i586 and up versions of the x86 processors. They provide a very accurate way to measure the diff --git a/sysdeps/mach/_strerror.c b/sysdeps/mach/_strerror.c index 3c0928825f..e3a5c8e3c8 100644 --- a/sysdeps/mach/_strerror.c +++ b/sysdeps/mach/_strerror.c @@ -21,7 +21,7 @@ #include #include #include -#include +#include <_itoa.h> /* It is critical here that we always use the `dcgettext' function for the message translation. Since only defines the macro diff --git a/sysdeps/mach/hurd/powerpc/register-dump.h b/sysdeps/mach/hurd/powerpc/register-dump.h index 258579727e..80d545e488 100644 --- a/sysdeps/mach/hurd/powerpc/register-dump.h +++ b/sysdeps/mach/hurd/powerpc/register-dump.h @@ -17,7 +17,7 @@ . */ #include -#include +#include <_itoa.h> /* This prints out the information in the following form: */ static const char dumpform[] = "\ diff --git a/sysdeps/mach/hurd/sethostid.c b/sysdeps/mach/hurd/sethostid.c index d1ff1b0f5b..7fadf6aa85 100644 --- a/sysdeps/mach/hurd/sethostid.c +++ b/sysdeps/mach/hurd/sethostid.c @@ -18,7 +18,7 @@ #include #include #include "hurdhost.h" -#include +#include <_itoa.h> /* Set the current machine's Internet number to ID. This call is restricted to the super-user. */ diff --git a/sysdeps/mach/hurd/xmknodat.c b/sysdeps/mach/hurd/xmknodat.c index a37b918822..acd1a8c683 100644 --- a/sysdeps/mach/hurd/xmknodat.c +++ b/sysdeps/mach/hurd/xmknodat.c @@ -23,7 +23,7 @@ #include #include #include -#include "stdio-common/_itoa.h" +#include <_itoa.h> #include #include diff --git a/sysdeps/mach/xpg-strerror.c b/sysdeps/mach/xpg-strerror.c index 997c5b6a3f..421d75803d 100644 --- a/sysdeps/mach/xpg-strerror.c +++ b/sysdeps/mach/xpg-strerror.c @@ -23,7 +23,7 @@ #include #include #include -#include +#include <_itoa.h> /* It is critical here that we always use the `dcgettext' function for the message translation. Since only defines the macro diff --git a/sysdeps/powerpc/powerpc32/dl-machine.c b/sysdeps/powerpc/powerpc32/dl-machine.c index 9ad6bbbc0b..e535480133 100644 --- a/sysdeps/powerpc/powerpc32/dl-machine.c +++ b/sysdeps/powerpc/powerpc32/dl-machine.c @@ -23,7 +23,7 @@ #include #include #include -#include +#include <_itoa.h> /* The value __cache_line_size is defined in dl-sysdep.c and is initialised by _dl_sysdep_start via DL_PLATFORM_INIT. */ diff --git a/sysdeps/powerpc/powerpc32/power4/hp-timing.h b/sysdeps/powerpc/powerpc32/power4/hp-timing.h index 8370f72691..a80168a7c9 100644 --- a/sysdeps/powerpc/powerpc32/power4/hp-timing.h +++ b/sysdeps/powerpc/powerpc32/power4/hp-timing.h @@ -22,7 +22,7 @@ #include #include -#include +#include <_itoa.h> #include /* The macros defined here use the powerpc 64-bit time base register. diff --git a/sysdeps/powerpc/powerpc32/register-dump.h b/sysdeps/powerpc/powerpc32/register-dump.h index d9b520e5e7..2936de240b 100644 --- a/sysdeps/powerpc/powerpc32/register-dump.h +++ b/sysdeps/powerpc/powerpc32/register-dump.h @@ -17,7 +17,7 @@ . */ #include -#include +#include <_itoa.h> /* This prints out the information in the following form: */ static const char dumpform[] = "\ diff --git a/sysdeps/powerpc/powerpc64/dl-machine.c b/sysdeps/powerpc/powerpc64/dl-machine.c index 6a8e68f39e..8e216ed87c 100644 --- a/sysdeps/powerpc/powerpc64/dl-machine.c +++ b/sysdeps/powerpc/powerpc64/dl-machine.c @@ -19,7 +19,7 @@ #include #include #include -#include +#include <_itoa.h> #include void diff --git a/sysdeps/powerpc/powerpc64/hp-timing.h b/sysdeps/powerpc/powerpc64/hp-timing.h index b4cf2a42cb..dc10bc4f65 100644 --- a/sysdeps/powerpc/powerpc64/hp-timing.h +++ b/sysdeps/powerpc/powerpc64/hp-timing.h @@ -22,7 +22,7 @@ #include #include -#include +#include <_itoa.h> #include /* The macros defined here use the powerpc 64-bit time base register. diff --git a/sysdeps/powerpc/powerpc64/register-dump.h b/sysdeps/powerpc/powerpc64/register-dump.h index e301b0fe61..917886db2f 100644 --- a/sysdeps/powerpc/powerpc64/register-dump.h +++ b/sysdeps/powerpc/powerpc64/register-dump.h @@ -17,7 +17,7 @@ . */ #include -#include +#include <_itoa.h> /* This prints out the information in the following form: */ static const char dumpform[] = "\ diff --git a/sysdeps/sparc/sparc32/sparcv9/hp-timing.h b/sysdeps/sparc/sparc32/sparcv9/hp-timing.h index b90bb84152..d0f896da5c 100644 --- a/sysdeps/sparc/sparc32/sparcv9/hp-timing.h +++ b/sysdeps/sparc/sparc32/sparcv9/hp-timing.h @@ -22,7 +22,7 @@ #include #include -#include +#include <_itoa.h> #define HP_TIMING_AVAIL (1) #define HP_TIMING_INLINE (1) diff --git a/sysdeps/sparc/sparc64/hp-timing.h b/sysdeps/sparc/sparc64/hp-timing.h index b68f653fb8..684b846f55 100644 --- a/sysdeps/sparc/sparc64/hp-timing.h +++ b/sysdeps/sparc/sparc64/hp-timing.h @@ -22,7 +22,7 @@ #include #include -#include +#include <_itoa.h> #define HP_TIMING_AVAIL (1) #define HP_TIMING_INLINE (1) diff --git a/sysdeps/unix/sysv/linux/fd_to_filename.h b/sysdeps/unix/sysv/linux/fd_to_filename.h index feefc2b78e..ee939af159 100644 --- a/sysdeps/unix/sysv/linux/fd_to_filename.h +++ b/sysdeps/unix/sysv/linux/fd_to_filename.h @@ -19,7 +19,7 @@ #include #include #include -#include +#include <_itoa.h> static inline const char * fd_to_filename (int fd) diff --git a/sysdeps/unix/sysv/linux/futimes.c b/sysdeps/unix/sysv/linux/futimes.c index cd76f6ffba..913bd105fc 100644 --- a/sysdeps/unix/sysv/linux/futimes.c +++ b/sysdeps/unix/sysv/linux/futimes.c @@ -22,7 +22,7 @@ #include #include #include -#include +#include <_itoa.h> #include #include diff --git a/sysdeps/unix/sysv/linux/i386/register-dump.h b/sysdeps/unix/sysv/linux/i386/register-dump.h index d2c5c3fcaf..7f54f67430 100644 --- a/sysdeps/unix/sysv/linux/i386/register-dump.h +++ b/sysdeps/unix/sysv/linux/i386/register-dump.h @@ -18,7 +18,7 @@ . */ #include -#include +#include <_itoa.h> /* We will print the register dump in this format: diff --git a/sysdeps/unix/sysv/linux/ptsname.c b/sysdeps/unix/sysv/linux/ptsname.c index 41edd8f8fe..fb097698fb 100644 --- a/sysdeps/unix/sysv/linux/ptsname.c +++ b/sysdeps/unix/sysv/linux/ptsname.c @@ -26,7 +26,7 @@ #include #include -#include +#include <_itoa.h> /* Check if DEV corresponds to a master pseudo terminal device. */ #define MASTER_P(Dev) \ diff --git a/sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h b/sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h index 0c3b83c24b..1f1a85983e 100644 --- a/sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h +++ b/sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h @@ -18,7 +18,7 @@ . */ #include -#include +#include <_itoa.h> /* We will print the register dump in this format: diff --git a/sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h b/sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h index 0cf89f14ca..671481df75 100644 --- a/sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h +++ b/sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h @@ -18,7 +18,7 @@ . */ #include -#include +#include <_itoa.h> /* We will print the register dump in this format: diff --git a/sysdeps/unix/sysv/linux/sh/sh3/register-dump.h b/sysdeps/unix/sysv/linux/sh/sh3/register-dump.h index 9562882eda..510863e7bf 100644 --- a/sysdeps/unix/sysv/linux/sh/sh3/register-dump.h +++ b/sysdeps/unix/sysv/linux/sh/sh3/register-dump.h @@ -17,7 +17,7 @@ . */ #include -#include +#include <_itoa.h> /* We will print the register dump in this format: diff --git a/sysdeps/unix/sysv/linux/sh/sh4/register-dump.h b/sysdeps/unix/sysv/linux/sh/sh4/register-dump.h index d31ca1f914..f05447c373 100644 --- a/sysdeps/unix/sysv/linux/sh/sh4/register-dump.h +++ b/sysdeps/unix/sysv/linux/sh/sh4/register-dump.h @@ -17,7 +17,7 @@ . */ #include -#include +#include <_itoa.h> /* We will print the register dump in this format: diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h b/sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h index 0d0cdd6bb2..be6ad74ae1 100644 --- a/sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h +++ b/sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h @@ -18,7 +18,7 @@ . */ #include -#include +#include <_itoa.h> /* We will print the register dump in this format: diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h b/sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h index 8ef6fde2fb..d8e76264f5 100644 --- a/sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h +++ b/sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h @@ -18,7 +18,7 @@ . */ #include -#include +#include <_itoa.h> /* We will print the register dump in this format: diff --git a/sysdeps/unix/sysv/linux/ttyname.c b/sysdeps/unix/sysv/linux/ttyname.c index 70b2d51a00..0cfb4740b8 100644 --- a/sysdeps/unix/sysv/linux/ttyname.c +++ b/sysdeps/unix/sysv/linux/ttyname.c @@ -27,7 +27,7 @@ #include #include -#include +#include <_itoa.h> #include #if 0 diff --git a/sysdeps/unix/sysv/linux/ttyname_r.c b/sysdeps/unix/sysv/linux/ttyname_r.c index a12849a777..f097311a15 100644 --- a/sysdeps/unix/sysv/linux/ttyname_r.c +++ b/sysdeps/unix/sysv/linux/ttyname_r.c @@ -27,7 +27,7 @@ #include #include -#include +#include <_itoa.h> #include static int getttyname_r (char *buf, size_t buflen, diff --git a/sysdeps/unix/sysv/linux/x86_64/register-dump.h b/sysdeps/unix/sysv/linux/x86_64/register-dump.h index 83157916d9..3ef8e09b6b 100644 --- a/sysdeps/unix/sysv/linux/x86_64/register-dump.h +++ b/sysdeps/unix/sysv/linux/x86_64/register-dump.h @@ -17,7 +17,7 @@ . */ #include -#include +#include <_itoa.h> /* We will print the register dump in this format: -- cgit 1.4.1