diff options
author | 2009-06-02 20:03:59 +0000 | |
---|---|---|
committer | 2009-06-02 20:03:59 +0000 | |
commit | 41e92cfbe492f972134ad14fd8f0c66b7e27c52e (patch) | |
tree | 956adf1697b6772d871c06d9f14b72b5cdb487e0 | |
parent | Clear PQ_ENCRYPT flag on uvm_pagefree, because free pages are by definition (diff) | |
download | wireguard-openbsd-41e92cfbe492f972134ad14fd8f0c66b7e27c52e.tar.xz wireguard-openbsd-41e92cfbe492f972134ad14fd8f0c66b7e27c52e.zip |
ANSIfy
noted by Jonathan ARMANI, ok blambert@
-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); |