about summary refs log tree commit diff
path: root/nptl/forward.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/forward.c')
-rw-r--r--nptl/forward.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nptl/forward.c b/nptl/forward.c
index e68b9b198e..4b7a12026c 100644
--- a/nptl/forward.c
+++ b/nptl/forward.c
@@ -55,11 +55,11 @@ FORWARD (pthread_attr_destroy, (pthread_attr_t *attr), (attr), 0);
 
 #if SHLIB_COMPAT(libc, GLIBC_2_0, GLIBC_2_1)
 FORWARD4 (pthread_attr_init_2_0, pthread_attr_init, int,
-	  (pthread_attr_t *attr), (attr), 0, GLIBC_2_0);
+	  (pthread_attr_t *attr), (attr), return 0, GLIBC_2_0);
 #endif
 
 FORWARD4 (pthread_attr_init_2_1, pthread_attr_init, int,
-	  (pthread_attr_t *attr), (attr), 0, GLIBC_2_1);
+	  (pthread_attr_t *attr), (attr), return 0, GLIBC_2_1);
 
 FORWARD (pthread_attr_getdetachstate,
 	 (const pthread_attr_t *attr, int *detachstate), (attr, detachstate),