diff options
Diffstat (limited to 'sys/sys/systm.h')
-rw-r--r-- | sys/sys/systm.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/sys/systm.h b/sys/sys/systm.h index def22d1..2481cab 100644 --- a/sys/sys/systm.h +++ b/sys/sys/systm.h @@ -306,4 +306,12 @@ int umajor(dev_t dev); /* XXX: Should be void nanodelay(u_int nsec); */ void DELAY(int usec); +/* + * Unit number allocation API. (kern/subr_unit.c) + */ +struct unrhdr; +struct unrhdr *new_unrhdr(u_int low, u_int high); +u_int alloc_unr(struct unrhdr *uh); +void free_unr(struct unrhdr *uh, u_int item); + #endif /* !_SYS_SYSTM_H_ */ |