diff options
author | Marco S Hyman <marc@cvs.openbsd.org> | 2002-11-07 02:56:21 +0000 |
---|---|---|
committer | Marco S Hyman <marc@cvs.openbsd.org> | 2002-11-07 02:56:21 +0000 |
commit | 213264c1bc5c250790d78dd190c2d5511ba7d163 (patch) | |
tree | 25a583c54cb1849b82279491a1e3e95bd8b445b7 /lib/libc_r | |
parent | c02828640ebfa854c7ba55d1bab6fc6ba128bfc9 (diff) |
type func(...) -> type\nfunc(...) for function definitions
Diffstat (limited to 'lib/libc_r')
-rw-r--r-- | lib/libc_r/uthread/uthread_attr_destroy.c | 5 | ||||
-rw-r--r-- | lib/libc_r/uthread/uthread_attr_getstackaddr.c | 5 | ||||
-rw-r--r-- | lib/libc_r/uthread/uthread_attr_getstacksize.c | 5 | ||||
-rw-r--r-- | lib/libc_r/uthread/uthread_attr_init.c | 5 | ||||
-rw-r--r-- | lib/libc_r/uthread/uthread_attr_setdetachstate.c | 5 | ||||
-rw-r--r-- | lib/libc_r/uthread/uthread_attr_setprio.c | 5 | ||||
-rw-r--r-- | lib/libc_r/uthread/uthread_attr_setstackaddr.c | 5 | ||||
-rw-r--r-- | lib/libc_r/uthread/uthread_attr_setstacksize.c | 5 | ||||
-rw-r--r-- | lib/libc_r/uthread/uthread_condattr_destroy.c | 5 | ||||
-rw-r--r-- | lib/libc_r/uthread/uthread_exit.c | 5 | ||||
-rw-r--r-- | lib/libc_r/uthread/uthread_mutexattr_destroy.c | 5 | ||||
-rw-r--r-- | lib/libc_r/uthread/uthread_single_np.c | 5 |
12 files changed, 36 insertions, 24 deletions
diff --git a/lib/libc_r/uthread/uthread_attr_destroy.c b/lib/libc_r/uthread/uthread_attr_destroy.c index feb0c8309f0..a71b00eea6e 100644 --- a/lib/libc_r/uthread/uthread_attr_destroy.c +++ b/lib/libc_r/uthread/uthread_attr_destroy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uthread_attr_destroy.c,v 1.3 1999/11/25 07:01:30 d Exp $ */ +/* $OpenBSD: uthread_attr_destroy.c,v 1.4 2002/11/07 02:56:20 marc Exp $ */ /* * Copyright (c) 1996 John Birrell <jb@cimlogic.com.au>. * All rights reserved. @@ -38,7 +38,8 @@ #include <pthread.h> #include "pthread_private.h" -int pthread_attr_destroy(pthread_attr_t *attr) +int +pthread_attr_destroy(pthread_attr_t *attr) { int ret; diff --git a/lib/libc_r/uthread/uthread_attr_getstackaddr.c b/lib/libc_r/uthread/uthread_attr_getstackaddr.c index 1a99e1db8a8..b2a330f5a64 100644 --- a/lib/libc_r/uthread/uthread_attr_getstackaddr.c +++ b/lib/libc_r/uthread/uthread_attr_getstackaddr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uthread_attr_getstackaddr.c,v 1.3 1999/11/25 07:01:31 d Exp $ */ +/* $OpenBSD: uthread_attr_getstackaddr.c,v 1.4 2002/11/07 02:56:20 marc Exp $ */ /* * Copyright (c) 1997 John Birrell <jb@cimlogic.com.au>. * All rights reserved. @@ -37,7 +37,8 @@ #include <pthread.h> #include "pthread_private.h" -int pthread_attr_getstackaddr(pthread_attr_t *attr, void **stackaddr) +int +pthread_attr_getstackaddr(pthread_attr_t *attr, void **stackaddr) { int ret; diff --git a/lib/libc_r/uthread/uthread_attr_getstacksize.c b/lib/libc_r/uthread/uthread_attr_getstacksize.c index f8d2f0b054c..f58a0bf5d15 100644 --- a/lib/libc_r/uthread/uthread_attr_getstacksize.c +++ b/lib/libc_r/uthread/uthread_attr_getstacksize.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uthread_attr_getstacksize.c,v 1.3 1999/11/25 07:01:31 d Exp $ */ +/* $OpenBSD: uthread_attr_getstacksize.c,v 1.4 2002/11/07 02:56:20 marc Exp $ */ /* * Copyright (c) 1997 John Birrell <jb@cimlogic.com.au>. * All rights reserved. @@ -37,7 +37,8 @@ #include <pthread.h> #include "pthread_private.h" -int pthread_attr_getstacksize(pthread_attr_t *attr, size_t *stacksize) +int +pthread_attr_getstacksize(pthread_attr_t *attr, size_t *stacksize) { int ret; diff --git a/lib/libc_r/uthread/uthread_attr_init.c b/lib/libc_r/uthread/uthread_attr_init.c index 2842ef38a6d..c7b811e3505 100644 --- a/lib/libc_r/uthread/uthread_attr_init.c +++ b/lib/libc_r/uthread/uthread_attr_init.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uthread_attr_init.c,v 1.3 1999/11/25 07:01:31 d Exp $ */ +/* $OpenBSD: uthread_attr_init.c,v 1.4 2002/11/07 02:56:20 marc Exp $ */ /* * Copyright (c) 1996 John Birrell <jb@cimlogic.com.au>. * All rights reserved. @@ -39,7 +39,8 @@ #include <pthread.h> #include "pthread_private.h" -int pthread_attr_init(pthread_attr_t *attr) +int +pthread_attr_init(pthread_attr_t *attr) { int ret; pthread_attr_t pattr; diff --git a/lib/libc_r/uthread/uthread_attr_setdetachstate.c b/lib/libc_r/uthread/uthread_attr_setdetachstate.c index 1c9e413d85a..f0801e5823d 100644 --- a/lib/libc_r/uthread/uthread_attr_setdetachstate.c +++ b/lib/libc_r/uthread/uthread_attr_setdetachstate.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uthread_attr_setdetachstate.c,v 1.3 1999/11/25 07:01:31 d Exp $ */ +/* $OpenBSD: uthread_attr_setdetachstate.c,v 1.4 2002/11/07 02:56:20 marc Exp $ */ /* * Copyright (c) 1997 John Birrell <jb@cimlogic.com.au>. * All rights reserved. @@ -37,7 +37,8 @@ #include <pthread.h> #include "pthread_private.h" -int pthread_attr_setdetachstate(pthread_attr_t *attr, int detachstate) +int +pthread_attr_setdetachstate(pthread_attr_t *attr, int detachstate) { int ret; diff --git a/lib/libc_r/uthread/uthread_attr_setprio.c b/lib/libc_r/uthread/uthread_attr_setprio.c index f609560d2ab..ffe74d8a102 100644 --- a/lib/libc_r/uthread/uthread_attr_setprio.c +++ b/lib/libc_r/uthread/uthread_attr_setprio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uthread_attr_setprio.c,v 1.4 2001/08/10 14:37:20 fgsch Exp $ */ +/* $OpenBSD: uthread_attr_setprio.c,v 1.5 2002/11/07 02:56:20 marc Exp $ */ /* * Copyright (c) 1996 John Birrell <jb@cimlogic.com.au>. * All rights reserved. @@ -37,7 +37,8 @@ #include <pthread.h> #include "pthread_private.h" -int pthread_attr_setprio(pthread_attr_t *attr, int priority) +int +pthread_attr_setprio(pthread_attr_t *attr, int priority) { int ret; if (attr == NULL || *attr == NULL) { diff --git a/lib/libc_r/uthread/uthread_attr_setstackaddr.c b/lib/libc_r/uthread/uthread_attr_setstackaddr.c index 2dcdd79eee1..a2f07bab9a3 100644 --- a/lib/libc_r/uthread/uthread_attr_setstackaddr.c +++ b/lib/libc_r/uthread/uthread_attr_setstackaddr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uthread_attr_setstackaddr.c,v 1.3 1999/11/25 07:01:32 d Exp $ */ +/* $OpenBSD: uthread_attr_setstackaddr.c,v 1.4 2002/11/07 02:56:20 marc Exp $ */ /* * Copyright (c) 1997 John Birrell <jb@cimlogic.com.au>. * All rights reserved. @@ -37,7 +37,8 @@ #include <pthread.h> #include "pthread_private.h" -int pthread_attr_setstackaddr(pthread_attr_t *attr, void *stackaddr) +int +pthread_attr_setstackaddr(pthread_attr_t *attr, void *stackaddr) { int ret; diff --git a/lib/libc_r/uthread/uthread_attr_setstacksize.c b/lib/libc_r/uthread/uthread_attr_setstacksize.c index 6b1792d02dc..5c1e489cf97 100644 --- a/lib/libc_r/uthread/uthread_attr_setstacksize.c +++ b/lib/libc_r/uthread/uthread_attr_setstacksize.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uthread_attr_setstacksize.c,v 1.3 1999/11/25 07:01:32 d Exp $ */ +/* $OpenBSD: uthread_attr_setstacksize.c,v 1.4 2002/11/07 02:56:20 marc Exp $ */ /* * Copyright (c) 1996 John Birrell <jb@cimlogic.com.au>. * All rights reserved. @@ -37,7 +37,8 @@ #include <pthread.h> #include "pthread_private.h" -int pthread_attr_setstacksize(pthread_attr_t *attr, size_t stacksize) +int +pthread_attr_setstacksize(pthread_attr_t *attr, size_t stacksize) { int ret; diff --git a/lib/libc_r/uthread/uthread_condattr_destroy.c b/lib/libc_r/uthread/uthread_condattr_destroy.c index 62e5a4495a8..08769b87dd3 100644 --- a/lib/libc_r/uthread/uthread_condattr_destroy.c +++ b/lib/libc_r/uthread/uthread_condattr_destroy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uthread_condattr_destroy.c,v 1.3 1999/11/25 07:01:33 d Exp $ */ +/* $OpenBSD: uthread_condattr_destroy.c,v 1.4 2002/11/07 02:56:20 marc Exp $ */ /* * Copyright (c) 1997 John Birrell <jb@cimlogic.com.au>. * All rights reserved. @@ -38,7 +38,8 @@ #include <pthread.h> #include "pthread_private.h" -int pthread_condattr_destroy(pthread_condattr_t *attr) +int +pthread_condattr_destroy(pthread_condattr_t *attr) { int ret; if (attr == NULL || *attr == NULL) { diff --git a/lib/libc_r/uthread/uthread_exit.c b/lib/libc_r/uthread/uthread_exit.c index 27ed0903ea6..91f41343583 100644 --- a/lib/libc_r/uthread/uthread_exit.c +++ b/lib/libc_r/uthread/uthread_exit.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uthread_exit.c,v 1.16 2002/10/30 19:11:56 marc Exp $ */ +/* $OpenBSD: uthread_exit.c,v 1.17 2002/11/07 02:56:20 marc Exp $ */ /* * Copyright (c) 1995-1998 John Birrell <jb@cimlogic.com.au> * All rights reserved. @@ -42,7 +42,8 @@ #include <pthread.h> #include "pthread_private.h" -void _exit(int status) +void +_exit(int status) { int flags; int i; diff --git a/lib/libc_r/uthread/uthread_mutexattr_destroy.c b/lib/libc_r/uthread/uthread_mutexattr_destroy.c index 5749e43d35f..39b7d66efd3 100644 --- a/lib/libc_r/uthread/uthread_mutexattr_destroy.c +++ b/lib/libc_r/uthread/uthread_mutexattr_destroy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uthread_mutexattr_destroy.c,v 1.3 1999/11/25 07:01:40 d Exp $ */ +/* $OpenBSD: uthread_mutexattr_destroy.c,v 1.4 2002/11/07 02:56:20 marc Exp $ */ /* * Copyright (c) 1997 John Birrell <jb@cimlogic.com.au>. * All rights reserved. @@ -38,7 +38,8 @@ #include <pthread.h> #include "pthread_private.h" -int pthread_mutexattr_destroy(pthread_mutexattr_t *attr) +int +pthread_mutexattr_destroy(pthread_mutexattr_t *attr) { int ret; if (attr == NULL || *attr == NULL) { diff --git a/lib/libc_r/uthread/uthread_single_np.c b/lib/libc_r/uthread/uthread_single_np.c index a1820b311bc..242ebd92fa8 100644 --- a/lib/libc_r/uthread/uthread_single_np.c +++ b/lib/libc_r/uthread/uthread_single_np.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uthread_single_np.c,v 1.4 2001/08/21 19:24:53 fgsch Exp $ */ +/* $OpenBSD: uthread_single_np.c,v 1.5 2002/11/07 02:56:20 marc Exp $ */ /* * Copyright (c) 1996 John Birrell <jb@cimlogic.com.au>. * All rights reserved. @@ -37,7 +37,8 @@ #include <pthread.h> #include "pthread_private.h" -int pthread_single_np() +int +pthread_single_np() { struct pthread *curthread = _get_curthread(); |