summaryrefslogtreecommitdiff
path: root/ptw32_is_attr.c
diff options
context:
space:
mode:
authorrpj <rpj>2004-05-17 01:38:02 +0000
committerrpj <rpj>2004-05-17 01:38:02 +0000
commit771465fed0cf50ee2dd790723245fc091699c324 (patch)
treed8c18d095a33fe7c4564bd90c5f313bb9e4057dd /ptw32_is_attr.c
parent8b14911744f58cbe3730703f3fcc41cd969fd0f3 (diff)
re-indentation, bug fixes, hooks for pre-emptive async cancelation
Diffstat (limited to 'ptw32_is_attr.c')
-rw-r--r--ptw32_is_attr.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/ptw32_is_attr.c b/ptw32_is_attr.c
index 19933c9..5179b81 100644
--- a/ptw32_is_attr.c
+++ b/ptw32_is_attr.c
@@ -38,12 +38,10 @@
#include "implement.h"
int
-ptw32_is_attr(const pthread_attr_t *attr)
+ptw32_is_attr (const pthread_attr_t * attr)
{
/* Return 0 if the attr object is valid, non-zero otherwise. */
return (attr == NULL ||
- *attr == NULL ||
- (*attr)->valid != PTW32_ATTR_VALID);
+ *attr == NULL || (*attr)->valid != PTW32_ATTR_VALID);
}
-