Author: luigi
Date: Fri Jul 10 19:18:49 2015
New Revision: 285361
URL: https://svnweb.freebsd.org/changeset/base/285361
Log:
one more warning suppression when compiling the test code in userspace.
Modified:
head/sys/netpfil/ipfw/dn_heap.c
Modified: head/sys/netpfil/ipfw/dn_heap.c
==============================================================================
--- head/sys/netpfil/ipfw/dn_heap.c Fri Jul 10 18:10:40 2015
(r285360)
+++ head/sys/netpfil/ipfw/dn_heap.c Fri Jul 10 19:18:49 2015
(r285361)
@@ -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)
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"