summaryrefslogtreecommitdiff
path: root/lib/linklist.h
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2017-02-17 18:19:27 +0000
committerQuentin Young <qlyoung@cumulusnetworks.com>2017-02-17 18:19:27 +0000
commit70abec3d71d1370b7c57d241314d3c84d7aaf282 (patch)
treefbb0440c3c15f454d6bbd435f1d82dc90a030591 /lib/linklist.h
parentbac515c64c89ccbb8a22fa40bd595dd2999404ee (diff)
*: remove QUAGGA_NO_DEPRECATED_INTERFACES
This define is used only to guard macros in lib/linklist.h which themselves are not used anywhere in the codebase and have been marked deprecated since anno domini 2005 Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/linklist.h')
-rw-r--r--lib/linklist.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/linklist.h b/lib/linklist.h
index 052025a86c..cd6e2f13aa 100644
--- a/lib/linklist.h
+++ b/lib/linklist.h
@@ -135,15 +135,4 @@ extern void list_add_list (struct list *, struct list *);
(L)->count--; \
} while (0)
-/* Deprecated: 20050406 */
-#if !defined(QUAGGA_NO_DEPRECATED_INTERFACES)
-#warning "Using deprecated libfrr interfaces"
-#define LISTNODE_ADD(L,N) LISTNODE_ATTACH(L,N)
-#define LISTNODE_DELETE(L,N) LISTNODE_DETACH(L,N)
-#define nextnode(X) ((X) = (X)->next)
-#define getdata(X) listgetdata(X)
-#define LIST_LOOP(L,V,N) \
- for (ALL_LIST_ELEMENTS_RO (L,N,V))
-#endif /* QUAGGA_NO_DEPRECATED_INTERFACES */
-
#endif /* _ZEBRA_LINKLIST_H */