diff options
author | luigi <luigi@FreeBSD.org> | 2015-07-10 19:18:49 +0000 |
---|---|---|
committer | luigi <luigi@FreeBSD.org> | 2015-07-10 19:18:49 +0000 |
commit | 9c7bfd6b7ddd28cb16c110c81fa7a16c8572075e (patch) | |
tree | a0535c0e5109284ef0c828a4ed148354310ce936 /sys/netpfil | |
parent | 5a4c84322b1f7cbed561ae8f99ccb6a8b505a845 (diff) | |
download | FreeBSD-src-9c7bfd6b7ddd28cb16c110c81fa7a16c8572075e.zip FreeBSD-src-9c7bfd6b7ddd28cb16c110c81fa7a16c8572075e.tar.gz |
one more warning suppression when compiling the test code in userspace.
Diffstat (limited to 'sys/netpfil')
-rw-r--r-- | sys/netpfil/ipfw/dn_heap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netpfil/ipfw/dn_heap.c b/sys/netpfil/ipfw/dn_heap.c index 1d58511..42431b0 100644 --- a/sys/netpfil/ipfw/dn_heap.c +++ b/sys/netpfil/ipfw/dn_heap.c @@ -52,7 +52,7 @@ __FBSDID("$FreeBSD$"); #include "dn_heap.h" #define log(x, arg...) fprintf(stderr, ## arg) #define panic(x...) fprintf(stderr, ## x), exit(1) -#define MALLOC_DEFINE(a, b, c) +#define MALLOC_DEFINE(a, b, c) volatile int __dummy__ ## a __attribute__((__unused__)) static void *my_malloc(int s) { return malloc(s); } static void my_free(void *p) { free(p); } #define malloc(s, t, w) my_malloc(s) |