[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] ignore-value: remove deprecated ignore_ptr function
From: |
Jim Meyering |
Subject: |
[PATCH] ignore-value: remove deprecated ignore_ptr function |
Date: |
Tue, 10 Jan 2012 08:51:18 +0100 |
We deprecated ignore_ptr a year ago:
http://thread.gmane.org/gmane.linux.utilities.util-linux-ng/3784/focus=3802
So I've removed it.
Considering how briefly it existed before it was deprecated,
waiting even this year seems overcautious. codesearch.google.com
(soon to disappear, itself) says that there are no uses of
/ignore_ptr\ *\(/ in code it indexes.
>From 530dd1744036b6f2b62aea156b399c7cec024d27 Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Tue, 10 Jan 2012 08:38:52 +0100
Subject: [PATCH] ignore-value: remove deprecated ignore_ptr function
* lib/ignore-value.h (ignore_ptr): Remove deprecated function.
* NEWS: Note this.
---
ChangeLog | 6 ++++++
NEWS | 5 +++++
lib/ignore-value.h | 5 -----
3 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 9048131..af388fe 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2012-01-10 Jim Meyering <address@hidden>
+
+ ignore-value: remove deprecated ignore_ptr function
+ * lib/ignore-value.h (ignore_ptr): Remove deprecated function.
+ * NEWS: Note this.
+
2012-01-09 Jim Meyering <address@hidden>
test-init.sh: avoid a subshell
diff --git a/NEWS b/NEWS
index 4887743..4ccd8f7 100644
--- 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.
diff --git a/lib/ignore-value.h b/lib/ignore-value.h
index 92f2fbc..52919de 100644
--- a/lib/ignore-value.h
+++ b/lib/ignore-value.h
@@ -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
--
1.7.9.rc0.2.g4b783
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] ignore-value: remove deprecated ignore_ptr function,
Jim Meyering <=