aboutsummaryrefslogtreecommitdiff
path: root/hurd
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-03-18 00:06:19 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-03-18 00:06:19 +0100
commit6dbe9dcae593cb5c1562fee34703938583618fd4 (patch)
tree12a8b2df0a98dc0b50c55d9a0e5e697b61119b6e /hurd
parenthurd: Fix link cthread/pthread symbol exposition. (diff)
downloadglibc-6dbe9dcae593cb5c1562fee34703938583618fd4.tar.gz
glibc-6dbe9dcae593cb5c1562fee34703938583618fd4.tar.bz2
glibc-6dbe9dcae593cb5c1562fee34703938583618fd4.zip
hurd: Fix coding style
Diffstat (limited to 'hurd')
-rw-r--r--hurd/hurd/signal.h2
-rw-r--r--hurd/hurd/threadvar.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/hurd/hurd/signal.h b/hurd/hurd/signal.h
index eb9b0ca423..f84c4ef485 100644
--- a/hurd/hurd/signal.h
+++ b/hurd/hurd/signal.h
@@ -180,7 +180,7 @@ _hurd_critical_section_lock (void)
struct hurd_sigstate *ss;
#ifdef __LIBC_NO_TLS
- if (__LIBC_NO_TLS())
+ if (__LIBC_NO_TLS ())
/* TLS is currently initializing, no need to enter critical section. */
return NULL;
#endif
diff --git a/hurd/hurd/threadvar.h b/hurd/hurd/threadvar.h
index 89918e34c3..414e452db5 100644
--- a/hurd/hurd/threadvar.h
+++ b/hurd/hurd/threadvar.h
@@ -49,6 +49,6 @@ extern mach_port_t __hurd_reply_port0;
/* This returns either the TLS reply port variable, or a single-thread variable
when TLS is not initialized yet. */
-#define __hurd_local_reply_port (*(__LIBC_NO_TLS() ? &__hurd_reply_port0 : &THREAD_SELF->reply_port))
+#define __hurd_local_reply_port (*(__LIBC_NO_TLS () ? &__hurd_reply_port0 : &THREAD_SELF->reply_port))
#endif /* hurd/threadvar.h */