diff options
Diffstat (limited to 'sys/sys/malloc.h')
-rw-r--r-- | sys/sys/malloc.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/sys/sys/malloc.h b/sys/sys/malloc.h index fa64f71..f14ef98 100644 --- a/sys/sys/malloc.h +++ b/sys/sys/malloc.h @@ -100,19 +100,19 @@ MALLOC_DECLARE(M_IP6NDP); /* for INET6 */ MALLOC_DECLARE(M_IOV); /* XXX struct malloc_type is unused for contig*(). */ -void contigfree __P((void *addr, unsigned long size, - struct malloc_type *type)); -void *contigmalloc __P((unsigned long size, struct malloc_type *type, +void contigfree(void *addr, unsigned long size, + struct malloc_type *type); +void *contigmalloc(unsigned long size, struct malloc_type *type, int flags, unsigned long low, unsigned long high, - unsigned long alignment, unsigned long boundary)); -void free __P((void *addr, struct malloc_type *type)); -void *malloc __P((unsigned long size, struct malloc_type *type, int flags)); -void malloc_init __P((void *)); -void malloc_uninit __P((void *)); -void *realloc __P((void *addr, unsigned long size, - struct malloc_type *type, int flags)); -void *reallocf __P((void *addr, unsigned long size, - struct malloc_type *type, int flags)); + unsigned long alignment, unsigned long boundary); +void free(void *addr, struct malloc_type *type); +void *malloc(unsigned long size, struct malloc_type *type, int flags); +void malloc_init(void *); +void malloc_uninit(void *); +void *realloc(void *addr, unsigned long size, + struct malloc_type *type, int flags); +void *reallocf(void *addr, unsigned long size, + struct malloc_type *type, int flags); #endif /* _KERNEL */ #endif /* !_SYS_MALLOC_H_ */ |