]> Savannah Git Hosting - gnulib.git/commitdiff
ignore-value: remove deprecated ignore_ptr function
authorJim Meyering <meyering@redhat.com>
Tue, 10 Jan 2012 07:38:52 +0000 (08:38 +0100)
committerJim Meyering <meyering@redhat.com>
Tue, 10 Jan 2012 07:48:08 +0000 (08:48 +0100)
* lib/ignore-value.h (ignore_ptr): Remove deprecated function.
* NEWS: Note this.

ChangeLog
NEWS
lib/ignore-value.h

index 9048131188995bd73e085ef33879177505944260..af388fef7bd0a19a588480063235a746b5379e62 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2012-01-10  Jim Meyering  <meyering@redhat.com>
+
+       ignore-value: remove deprecated ignore_ptr function
+       * lib/ignore-value.h (ignore_ptr): Remove deprecated function.
+       * NEWS: Note this.
+
 2012-01-09  Jim Meyering  <meyering@redhat.com>
 
        test-init.sh: avoid a subshell
diff --git a/NEWS b/NEWS
index 488774306a36e25b03552e9ce1bb2909d88d5313..4ccd8f717836c3d92fecac422517eccac9b54f64 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -21,6 +21,11 @@ User visible incompatible changes
 
 Date        Modules         Changes
 
+2012-01-10  ignore-value    This module no longer provides the ignore_ptr
+                            function.  It was deprecated a year ago, but existed
+                            so briefly before then that it never came into use.
+                            Now, the ignore_value function does its job.
+
 2011-11-18  hash            This module deprecates the hash_insert0 function
                             using gcc's "deprecated" attribute.  Use the better-
                             named hash_insert_if_absent equivalent.
index 92f2fbca9235ee40b601a43e40d33e7b61ac9211..52919de8f10db46e6c57e906afc118f28ace85ed 100644 (file)
@@ -54,9 +54,4 @@
 #  define ignore_value(x) (({ __typeof__ (x) __x = (x); (void) __x; }))
 # endif
 
-/* ignore_value works for scalars, pointers and aggregates;
-   deprecate ignore_ptr.  */
-static inline void _GL_ATTRIBUTE_DEPRECATED
-ignore_ptr (void *p) { (void) p; } /* deprecated: use ignore_value */
-
 #endif