summaryrefslogtreecommitdiff
path: root/common.h
diff options
context:
space:
mode:
authorRuss Allbery <rra@debian.org>2017-12-20 21:48:48 -0800
committerRuss Allbery <rra@debian.org>2017-12-20 21:48:48 -0800
commit89adbd59353dd3a0944de2c86288976329f2b1dc (patch)
tree050c4b8b379636dda63d2e9290df797cb3ec2d7a /common.h
parenta92a560637b87da633f44af0049f55e419a0dd05 (diff)
New upstream version 1.06.001
Diffstat (limited to 'common.h')
-rw-r--r--common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/common.h b/common.h
index 5f3ee0c..fc6debf 100644
--- a/common.h
+++ b/common.h
@@ -12,7 +12,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
- * $Id: common.h,v 1.33 2016/01/03 17:26:05 plm Exp $
+ * $Id: common.h,v 1.34 2017/11/02 21:16:33 plm Exp $
*/
/*! \file common.h
@@ -74,7 +74,7 @@ typedef void (*psighandler) (int);
/* Macro to mark parameters that aren't used in the function */
#ifdef UNUSED
-#elif defined(__GNUC__)
+#elif defined(HAVE_FUNC_ATTRIBUTE_UNUSED)
#define UNUSED(x) UNUSED_ ## x __attribute__((unused))
#elif defined(_lint)
#define UNUSED(x) /*lint -e{715, 818}*/ _unused_##x