diff options
author | Philip Guenthe <guenther@cvs.openbsd.org> | 2009-06-02 20:04:00 +0000 |
---|---|---|
committer | Philip Guenthe <guenther@cvs.openbsd.org> | 2009-06-02 20:04:00 +0000 |
commit | 6cabe8487d304e040dafe427a8df72b38e527bc4 (patch) | |
tree | 299d525e823518aee10d26cb27bffb2a4d6ffcec /sys | |
parent | dec6db6bc1834fac20d3841f4ea0085c8c568793 (diff) |
ANSIfy
noted by Jonathan ARMANI, ok blambert@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/kern_prot.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/kern/kern_prot.c b/sys/kern/kern_prot.c index 993f45445ba..bd0c851e107 100644 --- a/sys/kern/kern_prot.c +++ b/sys/kern/kern_prot.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_prot.c,v 1.38 2008/12/16 07:57:28 guenther Exp $ */ +/* $OpenBSD: kern_prot.c,v 1.39 2009/06/02 20:03:59 guenther Exp $ */ /* $NetBSD: kern_prot.c,v 1.33 1996/02/09 18:59:42 christos Exp $ */ /* @@ -71,10 +71,7 @@ sys_getpid(struct proc *p, void *v, register_t *retval) #ifdef RTHREADS /* ARGSUSED */ int -sys_getthrid(p, v, retval) - struct proc *p; - void *v; - register_t *retval; +sys_getthrid(struct proc *p, void *v, register_t *retval) { *retval = p->p_pid + (p->p_flag & P_THREAD ? 0 : THREAD_PID_OFFSET); |