summaryrefslogtreecommitdiffstats
path: root/ObsoleteFiles.inc
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2009-05-27 19:28:04 +0000
committered <ed@FreeBSD.org>2009-05-27 19:28:04 +0000
commit3779b68747cdae9d6e156307aae1ecb97b52d4ea (patch)
tree6d3ce9791e7680277093a1a296bcbea3aaeb6040 /ObsoleteFiles.inc
parent9fc2aafa8283c2dc1af8bfbfd1d727b16c0837d2 (diff)
downloadFreeBSD-src-3779b68747cdae9d6e156307aae1ecb97b52d4ea.zip
FreeBSD-src-3779b68747cdae9d6e156307aae1ecb97b52d4ea.tar.gz
Rename the queue macros I introduced last year.
Last year I added SLIST_REMOVE_NEXT and STAILQ_REMOVE_NEXT, to remove entries behind an element in the list, using O(1) time. I recently discovered NetBSD also has a similar macro, called SLIST_REMOVE_AFTER. In my opinion this approach is a lot better: - It doesn't have the unused first argument of the list pointer. I added this, mainly because OpenBSD also had it. - The _AFTER suffix makes a lot more sense, because it is related to SLIST_INSERT_AFTER. _NEXT is only used to iterate through the list. The reason why I want to rename this now, is to make sure we don't release a major version with the badly named macros.
Diffstat (limited to 'ObsoleteFiles.inc')
-rw-r--r--ObsoleteFiles.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/ObsoleteFiles.inc b/ObsoleteFiles.inc
index dfa8e79..197f4a0 100644
--- a/ObsoleteFiles.inc
+++ b/ObsoleteFiles.inc
@@ -14,6 +14,9 @@
# The file is partitioned: OLD_FILES first, then OLD_LIBS and OLD_DIRS last.
#
+# 20090527: renaming of S{LIST,TAILQ}_REMOVE_NEXT() to _REMOVE_AFTER()
+OLD_FILES+=usr/share/man/man3/SLIST_REMOVE_NEXT.3.gz
+OLD_FILES+=usr/share/man/man3/STAILQ_REMOVE_NEXT.3.gz
# 20090527: removal of legacy USB stack
OLD_FILES+=usr/include/legacy/dev/usb/dsbr100io.h
OLD_FILES+=usr/include/legacy/dev/usb/ehcireg.h
OpenPOWER on IntegriCloud