From 771465fed0cf50ee2dd790723245fc091699c324 Mon Sep 17 00:00:00 2001 From: rpj Date: Mon, 17 May 2004 01:38:02 +0000 Subject: re-indentation, bug fixes, hooks for pre-emptive async cancelation --- pthread_attr_setdetachstate.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'pthread_attr_setdetachstate.c') 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; } - -- cgit v1.2.3