summaryrefslogtreecommitdiff
path: root/pthread_attr_setdetachstate.c
diff options
context:
space:
mode:
Diffstat (limited to 'pthread_attr_setdetachstate.c')
-rw-r--r--pthread_attr_setdetachstate.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/pthread_attr_setdetachstate.c b/pthread_attr_setdetachstate.c
index 7a6ba1c..cc8953f 100644
--- a/pthread_attr_setdetachstate.c
+++ b/pthread_attr_setdetachstate.c
@@ -39,8 +39,7 @@
int
-pthread_attr_setdetachstate(pthread_attr_t *attr,
- int detachstate)
+pthread_attr_setdetachstate (pthread_attr_t * attr, int detachstate)
/*
* ------------------------------------------------------
* DOCPUBLIC
@@ -76,7 +75,7 @@ pthread_attr_setdetachstate(pthread_attr_t *attr,
* ------------------------------------------------------
*/
{
- if (ptw32_is_attr(attr) != 0)
+ if (ptw32_is_attr (attr) != 0)
{
return EINVAL;
}
@@ -90,4 +89,3 @@ pthread_attr_setdetachstate(pthread_attr_t *attr,
(*attr)->detachstate = detachstate;
return 0;
}
-