diff options
author | 2000-05-05 08:34:18 +0000 | |
---|---|---|
committer | 2000-05-05 08:34:18 +0000 | |
commit | d852dfbc8b4ab857193322be8c11189b8ba06b74 (patch) | |
tree | 84adba9553ced75e1276ec6babe193f778ee6db3 | |
parent | cope with interface detach (like pcmcia card removal). remove any (diff) | |
download | wireguard-openbsd-d852dfbc8b4ab857193322be8c11189b8ba06b74.tar.xz wireguard-openbsd-d852dfbc8b4ab857193322be8c11189b8ba06b74.zip |
Add limfree prototype to sys/recosurcevar.h.
-rw-r--r-- | sys/kern/kern_resource.c | 3 | ||||
-rw-r--r-- | sys/sys/resourcevar.h | 7 |
2 files changed, 5 insertions, 5 deletions
diff --git a/sys/kern/kern_resource.c b/sys/kern/kern_resource.c index dd0cea5da63..af34a823305 100644 --- a/sys/kern/kern_resource.c +++ b/sys/kern/kern_resource.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_resource.c,v 1.11 2000/03/03 11:31:43 art Exp $ */ +/* $OpenBSD: kern_resource.c,v 1.12 2000/05/05 08:34:18 art Exp $ */ /* $NetBSD: kern_resource.c,v 1.38 1996/10/23 07:19:38 matthias Exp $ */ /*- @@ -58,7 +58,6 @@ #include <uvm/uvm_extern.h> #endif -void limfree __P((struct plimit *)); /* * Resource controls and accounting. */ diff --git a/sys/sys/resourcevar.h b/sys/sys/resourcevar.h index c904244cdcb..d4d85700bb0 100644 --- a/sys/sys/resourcevar.h +++ b/sys/sys/resourcevar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: resourcevar.h,v 1.3 1996/03/03 12:12:13 niklas Exp $ */ +/* $OpenBSD: resourcevar.h,v 1.4 2000/05/05 08:34:18 art Exp $ */ /* $NetBSD: resourcevar.h,v 1.12 1995/11/22 23:01:53 cgd Exp $ */ /* @@ -89,8 +89,9 @@ void addupc_intr __P((struct proc *p, u_long pc, u_int ticks)); void addupc_task __P((struct proc *p, u_long pc, u_int ticks)); void calcru __P((struct proc *p, struct timeval *up, struct timeval *sp, struct timeval *ip)); -struct plimit - *limcopy __P((struct plimit *lim)); +struct plimit *limcopy __P((struct plimit *lim)); +void limfree __P((struct plimit *)); + void ruadd __P((struct rusage *ru, struct rusage *ru2)); #endif #endif /* !_SYS_RESOURCEVAR_H_ */ |