Hello, I've got some problems with MALLOC_DEFINE(M_DNDF, "ip_dndf", "dndf kernel aquisitions"); in my .c file and/or MALLOC_DECLARE(M_DNDF); in my .h In sys/malloc.h it shows that MALLOC_DEFINE initializes the malloc_type struct to default values. When I know use it in my kernel code, I get a warning like: ../../netinet/ip_dndf.c:20: warning: type defaults to `int' in declaration of `SYSINIT' ../../netinet/ip_dndf.c:20: warning: parameter names (without types) in function declaration ../../netinet/ip_dndf.c:20: warning: data definition has no type or storage class ../../netinet/ip_dndf.c:20: warning: type defaults to `int' in declaration of `SYSUNINIT' ../../netinet/ip_dndf.c:20: warning: parameter names (without types) in function declaration ../../netinet/ip_dndf.c:20: warning: data definition has no type or storage class I did search the rest of the kernel code, but I couldn't find any of it that did an assignment to the struct malloc_type. Do I have an error of concept ? thanks in advance, Jochen Kaiser -- Jochen Kaiser kind@IRCNET, phone +49 9131 85-28134 Network Administration mailto:[EMAIL PROTECTED] Regionales Rechenzentrum Universitaet Erlangen-Nuernberg, Germany GPG public key: http://www.uni-erlangen.de/~unrza2/public_key.txt To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

