1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-28 00:21:52 +03:00

* csu/Versions: Use %include <tls.h> to get USE_TLS defined.

(libc: GLIBC_2.0) [USE_TLS && HAVE___THREAD]: Remove _errno, errno.
	(libc: GLIBC_2.3) [USE_TLS && HAVE___THREAD]: Put errno here instead.
	* resolv/Versions: Use %include <tls.h> to get USE_TLS defined.
	(libc: GLIBC_2.0) [USE_TLS && HAVE___THREAD]: Remove _h_errno, h_errno,
	and _res.
	(libc: GLIBC_2.3) [USE_TLS && HAVE___THREAD]: Put h_errno, _res here.

	* elf/tls-macros.h [__x86_64__] (TLS_LE, TLS_IE, TLS_LD, TLS_GD):
	New macros for x86-64.

	* sysdeps/unix/sysv/linux/alpha/bits/time.h: File removed.
	It was indentical to the linux/bits/time.h file.

	* nscd/nscd_gethst_r.c (nscd_gethst_r): Add a cast to silence warning.

	* resolv/gethnamaddr.c (gethostbyaddr): Use socklen_t for SIZE.
This commit is contained in:
Roland McGrath
2002-09-25 01:58:37 +00:00
parent 1e78de0594
commit 160bb40945
9 changed files with 217 additions and 11 deletions

View File

@ -1,5 +1,5 @@
/* Test for Pthreads/mutexes.
Copyright (C) 2000, 2001 Free Software Foundation, Inc.
Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Kurt Garloff <garloff@suse.de>, 2000.
@ -38,8 +38,7 @@ struct thr_ctrl
static void
dump_mut (pthread_mutex_t * mut)
{
int i;
size_t i;
for (i = 0; i < sizeof (*mut); i++)
printf (" %02x", *((unsigned char *) mut + i));
printf ("\n");