changeset 16852:457b6c44f885

ignore-value.h: remove unused _GL_ATTRIBUTE_DEPRECATED definition * lib/ignore-value.h (_GL_ATTRIBUTE_DEPRECATED): Remove now-unused definition. Reported by Bruno Haible.
author Jim Meyering <meyering@redhat.com>
date Mon, 14 May 2012 17:33:15 +0200
parents 2ef869fa79b4
children cbe016b280f4
files ChangeLog lib/ignore-value.h
diffstat 2 files changed, 6 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- 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>
 
--- 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.  */