summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorM Joonas Pihlaja <jpihlaja@cc.helsinki.fi>2010-05-06 15:03:19 -0600
committerM Joonas Pihlaja <rowan@sal.math.ualberta.ca>2010-05-06 15:15:53 -0600
commitcc77a93c7333e5df9ae500b39ca234ddb52e64e9 (patch)
tree9460c74ea2a87f3cfad1b26d360bfdd2a052e7d1
parentcc95f3be4c7fba6cffad9a46ffba77397faa8d64 (diff)
Fix prototype for pthread_self().
The BSD pthread_t is a pointer to a struct and not an int.
-rw-r--r--list.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/list.m4 b/list.m4
index 7d23c3c..01f5e6f 100644
--- a/list.m4
+++ b/list.m4
@@ -1,4 +1,4 @@
-alias(zero, int, pthread_self)
+alias(zero, pthread_t, pthread_self)
alias(zero, int, pthread_mutex_init)
alias(zero, int, pthread_mutex_destroy)
alias(zero, int, pthread_mutex_lock)