summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2004-07-17 23:53:37 +0000
committeralfred <alfred@FreeBSD.org>2004-07-17 23:53:37 +0000
commitc1828db2c94f33cbab057a53c75f407a3d6c387b (patch)
tree7dd23afb9bbbba583e6de11e928943ece1cd1221 /sys
parent8dfcfd72537a07371009d4f587486b414275ad0b (diff)
downloadFreeBSD-src-c1828db2c94f33cbab057a53c75f407a3d6c387b.zip
FreeBSD-src-c1828db2c94f33cbab057a53c75f407a3d6c387b.tar.gz
Change named parameters from max (which conflicts with a macro in libkern.h)
to maxval.
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/resourcevar.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/resourcevar.h b/sys/sys/resourcevar.h
index 9242a59..d0669f6 100644
--- a/sys/sys/resourcevar.h
+++ b/sys/sys/resourcevar.h
@@ -107,9 +107,9 @@ void addupc_intr(struct thread *td, uintptr_t pc, u_int ticks);
void addupc_task(struct thread *td, uintptr_t pc, u_int ticks);
void calcru(struct proc *p, struct timeval *up, struct timeval *sp,
struct timeval *ip);
-int chgproccnt(struct uidinfo *uip, int diff, int max);
+int chgproccnt(struct uidinfo *uip, int diff, int maxval);
int chgsbsize(struct uidinfo *uip, u_int *hiwat, u_int to,
- rlim_t max);
+ rlim_t maxval);
int fuswintr(void *base);
struct plimit
*lim_alloc(void);
OpenPOWER on IntegriCloud