[master] 687447e As I mentioned...

Poul-Henning Kamp phk at FreeBSD.org
Wed Oct 4 10:12:05 UTC 2017


commit 687447e106e50eb068cc3347a70852905bad010b
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Wed Oct 4 10:11:16 2017 +0000

    As I mentioned...

diff --git a/include/vdef.h b/include/vdef.h
index f52bdf8..af52571 100644
--- a/include/vdef.h
+++ b/include/vdef.h
@@ -127,7 +127,7 @@
 #endif
 
 #ifndef __unused
-#  define __unused
+#  define __unused __attribute__((__unused__))
 #endif
 
 /*
diff --git a/include/vtree.h b/include/vtree.h
index 777f234..93323ab 100644
--- a/include/vtree.h
+++ b/include/vtree.h
@@ -30,10 +30,6 @@
 #ifndef	_VTREE_H_
 #define	_VTREE_H_
 
-#ifndef __unused
-#define __unused __attribute__((__unused__))
-#endif
-
 /*
  * This file defines data structures for different types of trees:
  * splay trees and red-black trees.


More information about the varnish-commit mailing list