From: Jim Meyering Date: Mon, 14 May 2012 15:33:15 +0000 (+0200) Subject: ignore-value.h: remove unused _GL_ATTRIBUTE_DEPRECATED definition X-Git-Tag: v0.1~674 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=d0f24fdec899e6533de47012efb0e7a56d984ead;p=gnulib.git ignore-value.h: remove unused _GL_ATTRIBUTE_DEPRECATED definition * lib/ignore-value.h (_GL_ATTRIBUTE_DEPRECATED): Remove now-unused definition. Reported by Bruno Haible. --- diff --git a/ChangeLog b/ChangeLog index b7f143b83..c45ec1a61 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2012-05-14 Jim Meyering + + ignore-value.h: remove unused _GL_ATTRIBUTE_DEPRECATED definition + * lib/ignore-value.h (_GL_ATTRIBUTE_DEPRECATED): Remove now-unused + definition. Reported by Bruno Haible. + 2012-05-13 Bruno Haible Paul Eggert diff --git a/lib/ignore-value.h b/lib/ignore-value.h index 52919de8f..2e3443509 100644 --- a/lib/ignore-value.h +++ b/lib/ignore-value.h @@ -35,16 +35,6 @@ #ifndef _GL_IGNORE_VALUE_H # define _GL_IGNORE_VALUE_H -# ifndef _GL_ATTRIBUTE_DEPRECATED -/* The __attribute__((__deprecated__)) feature - is available in gcc versions 3.1 and newer. */ -# if __GNUC__ < 3 || (__GNUC__ == 3 && __GNUC_MINOR__ < 1) -# define _GL_ATTRIBUTE_DEPRECATED /* empty */ -# else -# define _GL_ATTRIBUTE_DEPRECATED __attribute__ ((__deprecated__)) -# endif -# endif - /* The __attribute__((__warn_unused_result__)) feature is available in gcc versions 3.4 and newer, while the typeof feature has been available since 2.7 at least. */