ignore-value.h: remove unused _GL_ATTRIBUTE_DEPRECATED definition
authorJim Meyering <meyering@redhat.com>
Mon, 14 May 2012 15:33:15 +0000 (17:33 +0200)
committerJim Meyering <meyering@redhat.com>
Mon, 14 May 2012 15:33:23 +0000 (17:33 +0200)
* lib/ignore-value.h (_GL_ATTRIBUTE_DEPRECATED): Remove now-unused
definition.  Reported by Bruno Haible.

ChangeLog
lib/ignore-value.h

index b7f143b..c45ec1a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2012-05-14  Jim Meyering  <meyering@redhat.com>
+
+       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  <bruno@clisp.org>
            Paul Eggert  <eggert@cs.ucla.edu>
 
index 52919de..2e34435 100644 (file)
 #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.  */