Skip to content

Commit

Permalink
Update.
Browse files Browse the repository at this point in the history
	* sysdeps/generic/bits/libc-tsd.h [!(USE_TLS && HAVE___THREAD)]
	(__libc_tsd_address): Use correct variable name.
	Patch by sStefan Jones <tefan.jones@multigig.com>.
  • Loading branch information
Ulrich Drepper committed Oct 9, 2002
1 parent 65e6f47 commit 89c1676
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
2002-10-09 Ulrich Drepper <drepper@redhat.com>

* sysdeps/generic/bits/libc-tsd.h [!(USE_TLS && HAVE___THREAD)]
(__libc_tsd_address): Use correct variable name.
Patch by sStefan Jones <tefan.jones@multigig.com>.

* sysdeps/unix/sysv/linux/ia64/getcontext.S: Add missing ;;.
Reported by edwardsg@sgi.com [PR libc/4678].

Expand Down
2 changes: 1 addition & 1 deletion bits/libc-tsd.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
#else
# define __libc_tsd_define(CLASS, KEY) CLASS void *__libc_tsd_##KEY##_data;

# define __libc_tsd_address(KEY) (&__libc_tsd_##KEY)
# define __libc_tsd_address(KEY) (&__libc_tsd_##KEY##_data)
# define __libc_tsd_get(KEY) (__libc_tsd_##KEY##_data)
# define __libc_tsd_set(KEY, VALUE) (__libc_tsd_##KEY##_data = (VALUE))
#endif
Expand Down
2 changes: 1 addition & 1 deletion sysdeps/generic/bits/libc-tsd.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
#else
# define __libc_tsd_define(CLASS, KEY) CLASS void *__libc_tsd_##KEY##_data;

# define __libc_tsd_address(KEY) (&__libc_tsd_##KEY)
# define __libc_tsd_address(KEY) (&__libc_tsd_##KEY##_data)
# define __libc_tsd_get(KEY) (__libc_tsd_##KEY##_data)
# define __libc_tsd_set(KEY, VALUE) (__libc_tsd_##KEY##_data = (VALUE))
#endif
Expand Down

0 comments on commit 89c1676

Please sign in to comment.