diff options
author | neal <neal> | 2007-12-23 14:39:42 +0000 |
---|---|---|
committer | neal <neal> | 2007-12-23 14:39:42 +0000 |
commit | d527e074b28d3c68fd507347a09e1a0edc8b54fc (patch) | |
tree | 0f4469031978477cc772d39efbe61f9192c5365b /libpthread/sysdeps | |
parent | 4a9192379d6acaf06d2c435bc7c79b132c1bfdfc (diff) |
2007-12-23 Neal H. Walfield <neal@gnu.org>
* Makefile.am (AM_CPPFLAGS): Add "-std=gnu99 -Wall -g -O3".
* sysdeps/l4/pt-block.c (__pthread_block): Remove unused variable
err.
* pthread/pt-join.c (pthread_join): Cast argument to
pthread_cleanup_push to avoid warning.
Diffstat (limited to 'libpthread/sysdeps')
-rw-r--r-- | libpthread/sysdeps/l4/hurd/pt-thread-start.c | 4 | ||||
-rw-r--r-- | libpthread/sysdeps/l4/pt-block.c | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/libpthread/sysdeps/l4/hurd/pt-thread-start.c b/libpthread/sysdeps/l4/hurd/pt-thread-start.c index f2d7ef5..131f59d 100644 --- a/libpthread/sysdeps/l4/hurd/pt-thread-start.c +++ b/libpthread/sysdeps/l4/hurd/pt-thread-start.c @@ -43,8 +43,8 @@ __pthread_thread_start (struct __pthread *thread) struct hurd_thread_exregs_out out; in.aspace = ADDR (0, 0); - in.aspace_addr_trans = CAP_ADDR_TRANS_VOID; - in.aspace_addr_trans_flags = CAP_COPY_COPY_SOURCE_GUARD; + in.aspace_cap_properties = CAP_PROPERTIES_VOID; + in.aspace_cap_properties_flags = CAP_COPY_COPY_SOURCE_GUARD; in.activity = ADDR_VOID; diff --git a/libpthread/sysdeps/l4/pt-block.c b/libpthread/sysdeps/l4/pt-block.c index e92ce91..69e1d35 100644 --- a/libpthread/sysdeps/l4/pt-block.c +++ b/libpthread/sysdeps/l4/pt-block.c @@ -35,7 +35,6 @@ __pthread_block (struct __pthread *thread) l4_msg_tag_t tag = l4_receive (l4_anythread); if (l4_ipc_failed (tag)) { - int err = l4_error_code (); debug (1, "%x.%x failed to block: %d, offset: %x", l4_thread_no (l4_myself ()), l4_version (l4_myself ()), (l4_error_code () >> 1) & 0x7, |