summaryrefslogtreecommitdiff
path: root/pthread_attr_getstacksize.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 /pthread_attr_getstacksize.c
parent8b14911744f58cbe3730703f3fcc41cd969fd0f3 (diff)
re-indentation, bug fixes, hooks for pre-emptive async cancelation
Diffstat (limited to 'pthread_attr_getstacksize.c')
-rw-r--r--pthread_attr_getstacksize.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/pthread_attr_getstacksize.c b/pthread_attr_getstacksize.c
index 69fa8f6..25ac873 100644
--- a/pthread_attr_getstacksize.c
+++ b/pthread_attr_getstacksize.c
@@ -43,8 +43,7 @@
#endif
int
-pthread_attr_getstacksize(const pthread_attr_t *attr,
- size_t *stacksize)
+pthread_attr_getstacksize (const pthread_attr_t * attr, size_t * stacksize)
/*
* ------------------------------------------------------
* DOCPUBLIC
@@ -83,7 +82,7 @@ pthread_attr_getstacksize(const pthread_attr_t *attr,
{
#ifdef _POSIX_THREAD_ATTR_STACKSIZE
- if (ptw32_is_attr(attr) != 0)
+ if (ptw32_is_attr (attr) != 0)
{
return EINVAL;
}
@@ -99,4 +98,3 @@ pthread_attr_getstacksize(const pthread_attr_t *attr,
#endif /* _POSIX_THREAD_ATTR_STACKSIZE */
}
-