kopensolaris-gnu/glibc.git
12 years ago.
drepper [Tue, 18 Sep 2007 19:20:56 +0000 (19:20 +0000)]
.

12 years ago(add_dependency): Add flags argument.
drepper [Tue, 18 Sep 2007 19:20:46 +0000 (19:20 +0000)]
(add_dependency): Add flags argument.
Remember map->l_serial, if DL_LOOKUP_GSCOPE_LOCK is among
flags, use THREAD_GSCOPE_RESET_FLAG before and
THREAD_GSCOPE_SET_FLAG after
__rtld_lock_lock_recursive (GL(dl_load_lock)) to avoid deadlock.
Don't dereference map until it has been found on some list.
If map->l_serial changed, return -1.

12 years ago(_dl_new_object): Initialize l_serial.
drepper [Tue, 18 Sep 2007 19:20:28 +0000 (19:20 +0000)]
(_dl_new_object): Initialize l_serial.

12 years ago(struct link_map): Add l_serial field.
drepper [Tue, 18 Sep 2007 19:20:19 +0000 (19:20 +0000)]
(struct link_map): Add l_serial field.

12 years ago(do_sym): Or in DL_LOOKUP_GSCOPE_LOCK into flags after
drepper [Tue, 18 Sep 2007 19:20:07 +0000 (19:20 +0000)]
(do_sym): Or in DL_LOOKUP_GSCOPE_LOCK into flags after
THREAD_GSCOPE_SET_FLAG ().

12 years ago(_dl_fixup, _dl_profile_fixup): Or in DL_LOOKUP_GSCOPE_LOCK into flags
drepper [Tue, 18 Sep 2007 19:19:48 +0000 (19:19 +0000)]
(_dl_fixup, _dl_profile_fixup): Or in DL_LOOKUP_GSCOPE_LOCK into flags
after THREAD_GSCOPE_SET_FLAG ().

12 years ago(DL_LOOKUP_GSCOPE_LOCK): New definition.
drepper [Tue, 18 Sep 2007 19:19:30 +0000 (19:19 +0000)]
(DL_LOOKUP_GSCOPE_LOCK): New definition.

12 years ago.
drepper [Tue, 18 Sep 2007 19:04:01 +0000 (19:04 +0000)]
.

12 years agoC99 variant of wscanf.
drepper [Tue, 18 Sep 2007 19:03:34 +0000 (19:03 +0000)]
C99 variant of wscanf.

12 years agoC99 variant of vwscanf.
drepper [Tue, 18 Sep 2007 19:03:25 +0000 (19:03 +0000)]
C99 variant of vwscanf.

12 years agoC99 variant of vswscanf.
drepper [Tue, 18 Sep 2007 19:03:17 +0000 (19:03 +0000)]
C99 variant of vswscanf.

12 years agoC99 variant of vfwscanf.
drepper [Tue, 18 Sep 2007 19:03:08 +0000 (19:03 +0000)]
C99 variant of vfwscanf.

12 years agoC99 variant of swscanf.
drepper [Tue, 18 Sep 2007 19:03:00 +0000 (19:03 +0000)]
C99 variant of swscanf.

12 years agoC99 variant of fwscanf.
drepper [Tue, 18 Sep 2007 19:02:52 +0000 (19:02 +0000)]
C99 variant of fwscanf.

12 years ago(fwscanf, wscanf, swscanf, vfwscanf, vwscanf, vswscanf): Redirect to
drepper [Tue, 18 Sep 2007 19:02:27 +0000 (19:02 +0000)]
(fwscanf, wscanf, swscanf, vfwscanf, vwscanf, vswscanf): Redirect to
__nldbl___isoc99_* if strict ISO C99 or POSIX conformance requested.

12 years ago(fwscanf, wscanf, swscanf, vfwscanf, vwscanf, vswscanf): Redirect to
drepper [Tue, 18 Sep 2007 19:02:13 +0000 (19:02 +0000)]
(fwscanf, wscanf, swscanf, vfwscanf, vwscanf, vswscanf): Redirect to
__isoc99_* if strict ISO C99 or POSIX conformance requested.

12 years ago(libc): Export __isoc99_wscanf@@GLIBC_2.7,
drepper [Tue, 18 Sep 2007 19:01:57 +0000 (19:01 +0000)]
(libc): Export __isoc99_wscanf@@GLIBC_2.7,
__isoc99_vwscanf@@GLIBC_2.7, __isoc99_fwscanf@@GLIBC_2.7,
__isoc99_vfwscanf@@GLIBC_2.7, __isoc99_swscanf@@GLIBC_2.7 and
__isoc99_vswscanf@@GLIBC_2.7.

12 years ago(routines): Add isoc99_wscanf, isoc99_vwscanf,
drepper [Tue, 18 Sep 2007 19:01:43 +0000 (19:01 +0000)]
(routines): Add isoc99_wscanf, isoc99_vwscanf,
isoc99_fwscanf, isoc99_vfwscanf, isoc99_swscanf and isoc99_vswscanf.
(CFLAGS-isoc99_wscanf.c, CFLAGS-isoc99_fwscanf.c,
CFLAGS-isoc99_vwscanf.c, CFLAGS-isoc99_vfwscanf.c): Add $(exceptions).
(CPPFLAGS): Add -D_IO_MTSAFE_IO if needed.

12 years agoC99 version of wscanf for variant without long double.
drepper [Tue, 18 Sep 2007 19:00:53 +0000 (19:00 +0000)]
C99 version of wscanf for variant without long double.

12 years agoC99 version of vwscanf for variant without long double.
drepper [Tue, 18 Sep 2007 19:00:40 +0000 (19:00 +0000)]
C99 version of vwscanf for variant without long double.

12 years agoC99 version of vswscanf for variant without long double.
drepper [Tue, 18 Sep 2007 19:00:34 +0000 (19:00 +0000)]
C99 version of vswscanf for variant without long double.

12 years agoC99 version of vsscanf for variant without long double.
drepper [Tue, 18 Sep 2007 19:00:28 +0000 (19:00 +0000)]
C99 version of vsscanf for variant without long double.

12 years agoC99 version of vscanf for variant without long double.
drepper [Tue, 18 Sep 2007 19:00:22 +0000 (19:00 +0000)]
C99 version of vscanf for variant without long double.

12 years agoC99 version of vfwscanf for variant without long double.
drepper [Tue, 18 Sep 2007 19:00:15 +0000 (19:00 +0000)]
C99 version of vfwscanf for variant without long double.

12 years agoC99 version of vfscanf for variant without long double.
drepper [Tue, 18 Sep 2007 19:00:09 +0000 (19:00 +0000)]
C99 version of vfscanf for variant without long double.

12 years agoC99 version of swscanf for variant without long double.
drepper [Tue, 18 Sep 2007 19:00:01 +0000 (19:00 +0000)]
C99 version of swscanf for variant without long double.

12 years agoC99 version of sscanf for variant without long double.
drepper [Tue, 18 Sep 2007 18:59:55 +0000 (18:59 +0000)]
C99 version of sscanf for variant without long double.

12 years agoC99 version of scanf for variant without long double.
drepper [Tue, 18 Sep 2007 18:59:48 +0000 (18:59 +0000)]
C99 version of scanf for variant without long double.

12 years agoC99 version of fwscanf for variant without long double.
drepper [Tue, 18 Sep 2007 18:59:41 +0000 (18:59 +0000)]
C99 version of fwscanf for variant without long double.

12 years agoC99 version of fscanf for variant without long double.
drepper [Tue, 18 Sep 2007 18:59:34 +0000 (18:59 +0000)]
C99 version of fscanf for variant without long double.

12 years ago(__isoc99_scanf, __isoc99_fscanf, __isoc99_sscanf, __isoc99_vscanf,
drepper [Tue, 18 Sep 2007 18:57:56 +0000 (18:57 +0000)]
(__isoc99_scanf, __isoc99_fscanf, __isoc99_sscanf, __isoc99_vscanf,
__isoc99_vfscanf, __isoc99_vsscanf, __isoc99_wscanf, __isoc99_fwscanf,
__isoc99_swscanf, __isoc99_vwscanf, __isoc99_vfwscanf,
__isoc99_vswscanf): Add NLDBL_DECL.

12 years ago(__isoc99_scanf, __isoc99_fscanf, __isoc99_sscanf, __isoc99_vscanf,
drepper [Tue, 18 Sep 2007 18:57:46 +0000 (18:57 +0000)]
(__isoc99_scanf, __isoc99_fscanf, __isoc99_sscanf, __isoc99_vscanf,
__isoc99_vfscanf, __isoc99_vsscanf, __isoc99_wscanf, __isoc99_fwscanf,
__isoc99_swscanf, __isoc99_vwscanf, __isoc99_vfwscanf,
__isoc99_vswscanf): Add NLDBL_DECL.

12 years ago(libc): Export __nldbl___isoc99_scanf@@GLIBC_2.7,
drepper [Tue, 18 Sep 2007 18:57:26 +0000 (18:57 +0000)]
(libc): Export __nldbl___isoc99_scanf@@GLIBC_2.7,
__nldbl___isoc99_fscanf@@GLIBC_2.7, __nldbl___isoc99_sscanf@@GLIBC_2.7,
__nldbl___isoc99_vscanf@@GLIBC_2.7, __nldbl___isoc99_vfscanf@@GLIBC_2.7,
__nldbl___isoc99_vsscanf@@GLIBC_2.7, __nldbl___isoc99_wscanf@@GLIBC_2.7,
__nldbl___isoc99_fwscanf@@GLIBC_2.7, __nldbl___isoc99_swscanf@@GLIBC_2.7,
__nldbl___isoc99_vwscanf@@GLIBC_2.7, __nldbl___isoc99_vfwscanf@@GLIBC_2.7 and
__nldbl___isoc99_vswscanf@@GLIBC_2.7.

12 years ago(libnldbl-calls): Add isoc99_scanf, isoc99_fscanf, isoc99_sscanf,
drepper [Tue, 18 Sep 2007 18:56:57 +0000 (18:56 +0000)]
(libnldbl-calls): Add isoc99_scanf, isoc99_fscanf, isoc99_sscanf,
isoc99_vscanf, isoc99_vfscanf, isoc99_vsscanf, isoc99_wscanf,
isoc99_fwscanf, isoc99_swscanf, isoc99_vwscanf, isoc99_vfwscanf and
isoc99_vswscanf.

12 years ago(_IO_vfscanf_internal): Don't handle %as, %aS and %a[ if
drepper [Tue, 18 Sep 2007 18:56:29 +0000 (18:56 +0000)]
(_IO_vfscanf_internal): Don't handle %as, %aS and %a[ if
_IO_FLAGS2_SCANF_STD is set in _flags2.

12 years agokkkkC99-compatible vsscanf.
drepper [Tue, 18 Sep 2007 18:55:59 +0000 (18:55 +0000)]
kkkkC99-compatible vsscanf.

12 years agokkkkC99-compatible vscanf.
drepper [Tue, 18 Sep 2007 18:55:51 +0000 (18:55 +0000)]
kkkkC99-compatible vscanf.

12 years agokkkkC99-compatible vfscanf.
drepper [Tue, 18 Sep 2007 18:55:44 +0000 (18:55 +0000)]
kkkkC99-compatible vfscanf.

12 years agokkkkC99-compatible sscanf.
drepper [Tue, 18 Sep 2007 18:55:36 +0000 (18:55 +0000)]
kkkkC99-compatible sscanf.

12 years agokkkkC99-compatible scanf.
drepper [Tue, 18 Sep 2007 18:55:30 +0000 (18:55 +0000)]
kkkkC99-compatible scanf.

12 years agokkkkC99-compatible fscanf.
drepper [Tue, 18 Sep 2007 18:55:23 +0000 (18:55 +0000)]
kkkkC99-compatible fscanf.

12 years ago(libc): Export __isoc99_scanf@@GLIBC_2.7, __isoc99_vscanf@@GLIBC_2.7,
drepper [Tue, 18 Sep 2007 18:55:06 +0000 (18:55 +0000)]
(libc): Export __isoc99_scanf@@GLIBC_2.7, __isoc99_vscanf@@GLIBC_2.7,
__isoc99_fscanf@@GLIBC_2.7, __isoc99_vfscanf@@GLIBC_2.7,
__isoc99_sscanf@@GLIBC_2.7 and __isoc99_vsscanf@@GLIBC_2.7.

12 years ago(routines): Add isoc99_scanf, isoc99_vscanf,
drepper [Tue, 18 Sep 2007 18:54:24 +0000 (18:54 +0000)]
(routines): Add isoc99_scanf, isoc99_vscanf,
isoc99_fscanf, isoc99_vfscanf, isoc99_sscanf and isoc99_vsscanf.
(tests): Add scanf14.
(CFLAGS-vfprintf.c, CFLAGS-fprintf.c, CFLAGS-printf.c,
CFLAGS-vfwprintf.c, CFLAGS-vfscanf.c, CFLAGS-vfwscanf.c,
CFLAGS-fscanf.c, CFLAGS-scanf.c, CFLAGS-isoc99_vfscanf.c,
CFLAGS-isoc99_vscanf.c, CFLAGS-isoc99_fscanf.c,
CFLAGS-isoc99_scanf.c): Add $(exceptions).
(CFLAGS-scanf15.c): Add various -I paths to prevent the compiler
from using internal headers.

(tests): Add scanf13.
(scanf13-ENV): New.

12 years agoNew scanf test.
drepper [Tue, 18 Sep 2007 17:59:38 +0000 (17:59 +0000)]
New scanf test.

12 years ago(fscanf, scanf, sscanf, vfscanf, vscanf, vsscanf): Redirect to
drepper [Tue, 18 Sep 2007 17:59:01 +0000 (17:59 +0000)]
(fscanf, scanf, sscanf, vfscanf, vscanf, vsscanf): Redirect to
__nldbl___isoc99_* if strict ISO C99 or POSIX conformance requested.

12 years ago(fscanf, scanf, sscanf, vfscanf, vscanf, vsscanf): Redirect to
drepper [Tue, 18 Sep 2007 17:58:29 +0000 (17:58 +0000)]
(fscanf, scanf, sscanf, vfscanf, vscanf, vsscanf): Redirect to
__isoc99_* if strict ISO C99 or POSIX conformance requested.

12 years ago(_IO_acquire_lock_clear_flags2_fct): Also clear _IO_FLAGS2_SCANF_STD
drepper [Tue, 18 Sep 2007 17:57:59 +0000 (17:57 +0000)]
(_IO_acquire_lock_clear_flags2_fct): Also clear _IO_FLAGS2_SCANF_STD
bit from _flags2.

(_IO_acquire_lock_clear_flags2_fct): Clear the _IO_FLAGS2_FORTIFY bit
from _flags2 rather than _flags.

12 years ago(_IO_FLAGS2_SCANF_STD): Define.
drepper [Tue, 18 Sep 2007 17:57:19 +0000 (17:57 +0000)]
(_IO_FLAGS2_SCANF_STD): Define.

12 years ago(tests): Add edge case tests for "0", "0x", "0x0".
drepper [Tue, 18 Sep 2007 17:56:37 +0000 (17:56 +0000)]
(tests): Add edge case tests for "0", "0x", "0x0".

12 years ago(__isoc99_fwscanf, __isoc99_wscanf,__isoc99_swscanf, __isoc99_vwscanf):
drepper [Tue, 18 Sep 2007 17:55:49 +0000 (17:55 +0000)]
(__isoc99_fwscanf, __isoc99_wscanf,__isoc99_swscanf, __isoc99_vwscanf):
New prototypes.
(__isoc99_vswscanf, __isoc99_vfwscanf): New prototypes,
add libc_hidden_proto.

12 years ago(__isoc99_fscanf, __isoc99_scanf, __isoc99_sscanf, __isoc99_vscanf):
drepper [Tue, 18 Sep 2007 17:55:21 +0000 (17:55 +0000)]
(__isoc99_fscanf, __isoc99_scanf, __isoc99_sscanf, __isoc99_vscanf):
New prototypes.
(__isoc99_vsscanf, __isoc99_vfscanf): New prototypes, add
libc_hidden_proto.

12 years ago.
drepper [Tue, 18 Sep 2007 16:21:06 +0000 (16:21 +0000)]
.

12 years agoMark splice, vmsplice, and tee as cancellation points.
drepper [Tue, 18 Sep 2007 16:20:57 +0000 (16:20 +0000)]
Mark splice, vmsplice, and tee as cancellation points.

12 years agoCorrect return value type __THROW marker of splice, vmsplice, and tee.
drepper [Tue, 18 Sep 2007 16:20:44 +0000 (16:20 +0000)]
Correct return value type __THROW marker of splice, vmsplice, and tee.

12 years agoUndo second occurrence of RH GCC hack.
jakub [Sun, 16 Sep 2007 05:10:26 +0000 (05:10 +0000)]
Undo second occurrence of RH GCC hack.

12 years ago.
drepper [Sat, 15 Sep 2007 22:54:33 +0000 (22:54 +0000)]
.

12 years ago(_dl_discover_osversion): Don't parse more than three parts of the
drepper [Sat, 15 Sep 2007 22:54:08 +0000 (22:54 +0000)]
(_dl_discover_osversion): Don't parse more than three parts of the
version number.

12 years ago.
drepper [Sat, 15 Sep 2007 22:49:46 +0000 (22:49 +0000)]
.

12 years ago(_IO_vfwscanf): Add support for 'm' modifier.
drepper [Sat, 15 Sep 2007 22:49:24 +0000 (22:49 +0000)]
(_IO_vfwscanf): Add support for 'm' modifier.

12 years agoRemove hack for RH gcc.
drepper [Sat, 15 Sep 2007 22:43:22 +0000 (22:43 +0000)]
Remove hack for RH gcc.

12 years ago.
drepper [Sat, 15 Sep 2007 22:38:32 +0000 (22:38 +0000)]
.

12 years agoUse __call_fallocate instead of __fallocate64.
drepper [Sat, 15 Sep 2007 22:38:08 +0000 (22:38 +0000)]
Use __call_fallocate instead of __fallocate64.

12 years agoUse __call_fallocate instead of __fallocate64.
drepper [Sat, 15 Sep 2007 22:37:57 +0000 (22:37 +0000)]
Use __call_fallocate instead of __fallocate64.

12 years ago(fallocate64): Remove.
drepper [Sat, 15 Sep 2007 22:37:46 +0000 (22:37 +0000)]
(fallocate64): Remove.

12 years agoWrapper around fallocate syscall on x86.
drepper [Sat, 15 Sep 2007 22:37:31 +0000 (22:37 +0000)]
Wrapper around fallocate syscall on x86.

12 years ago(sysdep_routines): Add call_fallocate in misc subdir.
drepper [Sat, 15 Sep 2007 22:36:10 +0000 (22:36 +0000)]
(sysdep_routines): Add call_fallocate in misc subdir.

12 years ago.
drepper [Sat, 15 Sep 2007 22:35:27 +0000 (22:35 +0000)]
.

12 years ago(__open_alias, __open64_alias, __openat_alias, __openat64_alias): New
drepper [Sat, 15 Sep 2007 22:35:19 +0000 (22:35 +0000)]
(__open_alias, __open64_alias, __openat_alias, __openat64_alias): New
redirects.
(__open_too_many_args, __open_missing_mode, __open64_too_many_args,
__open64_missing_mode, __openat_too_many_args, __openat_missing_mode,
__openat64_too_many_args, __openat64_missing_mode): New __errordecls.
(open, open64, openat, openat64): Rewrite as __extern_always_inline
functions instead of function-like macros.

12 years agoInclude bits/fcntl2.h when __va_arg_pack_len is defined rather than when
drepper [Sat, 15 Sep 2007 22:34:56 +0000 (22:34 +0000)]
Include bits/fcntl2.h when __va_arg_pack_len is defined rather than when
not C++.

12 years ago(__errordecl, __va_arg_pack_len): Define.
drepper [Sat, 15 Sep 2007 22:34:39 +0000 (22:34 +0000)]
(__errordecl, __va_arg_pack_len): Define.

12 years ago(__fortify_fail): Add libc_hidden_proto.
drepper [Sat, 15 Sep 2007 22:34:25 +0000 (22:34 +0000)]
(__fortify_fail): Add libc_hidden_proto.

12 years ago(__fortify_fail): Add libc_hidden_def.
drepper [Sat, 15 Sep 2007 22:34:13 +0000 (22:34 +0000)]
(__fortify_fail): Add libc_hidden_def.

12 years ago(librt): Add GLIBC_2.7 version.
drepper [Sat, 15 Sep 2007 22:32:08 +0000 (22:32 +0000)]
(librt): Add GLIBC_2.7 version.

12 years ago(libc): Export __fortify_fail@@GLIBC_PRIVATE.
drepper [Sat, 15 Sep 2007 22:31:58 +0000 (22:31 +0000)]
(libc): Export __fortify_fail@@GLIBC_PRIVATE.

12 years ago(__mq_open): Renamed from mq_open.
drepper [Sat, 15 Sep 2007 22:31:45 +0000 (22:31 +0000)]
(__mq_open): Renamed from mq_open.
(mq_open): New strong_alias.

12 years ago(__mq_open): Renamed from mq_open.
drepper [Sat, 15 Sep 2007 22:31:28 +0000 (22:31 +0000)]
(__mq_open): Renamed from mq_open.
(mq_open): New strong_alias.
(__mq_open_2): New function.

12 years agoFortify definiition for mqueue.h.
drepper [Sat, 15 Sep 2007 22:31:08 +0000 (22:31 +0000)]
Fortify definiition for mqueue.h.

12 years agoInclude bits/mqueue2.h if -D_FORTIFY_SOURCE=2,
drepper [Sat, 15 Sep 2007 22:30:33 +0000 (22:30 +0000)]
Include bits/mqueue2.h if -D_FORTIFY_SOURCE=2,
optimizing with GCC and __va_arg_pack_len is defined.

12 years ago(headers): Add bits/mqueue2.h.
drepper [Sat, 15 Sep 2007 22:30:16 +0000 (22:30 +0000)]
(headers): Add bits/mqueue2.h.

12 years ago(librt): Export __mq_open_2@@GLIBC_2.7.
drepper [Sat, 15 Sep 2007 22:30:01 +0000 (22:30 +0000)]
(librt): Export __mq_open_2@@GLIBC_2.7.

12 years ago.
drepper [Sat, 15 Sep 2007 22:24:03 +0000 (22:24 +0000)]
.

12 years ago(__memset_chk): New definition.
drepper [Sat, 15 Sep 2007 22:23:57 +0000 (22:23 +0000)]
(__memset_chk): New definition.

12 years ago(__memcpy_chk): New definition.
drepper [Sat, 15 Sep 2007 22:23:46 +0000 (22:23 +0000)]
(__memcpy_chk): New definition.

12 years ago(__memcpy_chk): New definition.
drepper [Sat, 15 Sep 2007 22:23:37 +0000 (22:23 +0000)]
(__memcpy_chk): New definition.

12 years ago.
drepper [Sat, 15 Sep 2007 22:22:12 +0000 (22:22 +0000)]
.

12 years agoReset digit to 0 for inputs starting with "0x".
drepper [Sat, 15 Sep 2007 22:21:19 +0000 (22:21 +0000)]
Reset digit to 0 for inputs starting with "0x".

12 years ago.
roland [Sat, 15 Sep 2007 04:10:42 +0000 (04:10 +0000)]
.

12 years ago2007-09-14 Mike Frysinger <vapier@gentoo.org>
roland [Sat, 15 Sep 2007 04:10:38 +0000 (04:10 +0000)]
2007-09-14  Mike Frysinger  <vapier@gentoo.org>

* inet/tst-network.c: Increment ERRORS for failing tests.

12 years ago.
drepper [Sat, 15 Sep 2007 02:38:04 +0000 (02:38 +0000)]
.

12 years agoFix #error message.
drepper [Sat, 15 Sep 2007 02:37:54 +0000 (02:37 +0000)]
Fix #error message.
(swprintf, wprintf, fwprintf): Don't define the macros for C++.
(vswprintf, vwprintf, vfwprintf): Define using
__extern_always_inline functions for C++.

(__swprintf_alias): New redirect.
(swprintf, wprintf, fwprintf): When __va_arg_pack is defined,
implement as __extern_always_inline functions.
(vswprintf, vwprintf, vfwprintf): Define as
__extern_always_inline functions unconditionally.

12 years agoInclude bits/wchar2.h when __extern_always_inline is defined instead
drepper [Sat, 15 Sep 2007 02:37:11 +0000 (02:37 +0000)]
Include bits/wchar2.h when __extern_always_inline is defined instead
of when not __cplusplus.
(btowc, wctob): Don't guard the inlines with ifndef __cplusplus.

12 years ago(gnu_dev_major, gnu_dev_minor, gnu_dev_makedev): Remove
drepper [Sat, 15 Sep 2007 02:36:44 +0000 (02:36 +0000)]
(gnu_dev_major, gnu_dev_minor, gnu_dev_makedev): Remove
__extern_inline from prototypes.  Only provide __extern_inline
routines if __USE_EXTERN_INLINES.

12 years ago(__STRING_INLINE): Define to __extern_inline whenever that macro is defined.
drepper [Sat, 15 Sep 2007 02:36:23 +0000 (02:36 +0000)]
(__STRING_INLINE): Define to __extern_inline whenever that macro is defined.

12 years agoDon't #undef macros if __cplusplus.
drepper [Sat, 15 Sep 2007 02:35:31 +0000 (02:35 +0000)]
Don't #undef macros if __cplusplus.
(memcpy, memmove, mempcpy, memset, bcopy, bzero, strcpy, stpcpy,
strncpy, strcat, strncat): Define as __extern_always_inline
functions instead of macros for C++.

12 years agoInclude bits/string3.h when __extern_always_inline is defined instead
drepper [Sat, 15 Sep 2007 02:35:08 +0000 (02:35 +0000)]
Include bits/string3.h when __extern_always_inline is defined instead
of when not __cplusplus.

12 years agoInclude bits/stdlib.h when __extern_always_inline is defined instead
drepper [Sat, 15 Sep 2007 02:34:53 +0000 (02:34 +0000)]
Include bits/stdlib.h when __extern_always_inline is defined instead
of when not __cplusplus.

12 years agoInclude bits/socket2.h when __extern_always_inline is defined instead
drepper [Sat, 15 Sep 2007 02:34:34 +0000 (02:34 +0000)]
Include bits/socket2.h when __extern_always_inline is defined instead
of when not __cplusplus.

12 years agoInclude bits/unistd.h when __extern_always_inline is defined instead
drepper [Sat, 15 Sep 2007 02:34:09 +0000 (02:34 +0000)]
Include bits/unistd.h when __extern_always_inline is defined instead
of when not __cplusplus.

12 years agoInclude bits/syslog.h when __extern_always_inline is defined instead
drepper [Sat, 15 Sep 2007 02:33:54 +0000 (02:33 +0000)]
Include bits/syslog.h when __extern_always_inline is defined instead
of when not __cplusplus.

12 years ago(__extern_inline, __extern_always_inline): Only define in C++ for GCC
drepper [Sat, 15 Sep 2007 02:33:27 +0000 (02:33 +0000)]
(__extern_inline, __extern_always_inline): Only define in C++ for GCC
4.3+, in C++ always use __gnu_inline__ attribute.

(__va_arg_pack): Define for GCC 4.3+.