diff options
author | Quentin Young <qlyoung@cumulusnetworks.com> | 2017-02-17 19:19:27 +0100 |
---|---|---|
committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2017-02-27 02:14:40 +0100 |
commit | 855ddb28b532ea8b5834d37df14f5ec76d2d4bb4 (patch) | |
tree | 36164c0aa04133055dadfc2d1cd53cba4ae50744 | |
parent | Merge pull request #221 from LabNConsulting/working/2.0/patch/issue-218 (diff) | |
download | frr-855ddb28b532ea8b5834d37df14f5ec76d2d4bb4.tar.xz frr-855ddb28b532ea8b5834d37df14f5ec76d2d4bb4.zip |
*: 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>
-rwxr-xr-x | configure.ac | 8 | ||||
-rw-r--r-- | lib/linklist.h | 11 |
2 files changed, 0 insertions, 19 deletions
diff --git a/configure.ac b/configure.ac index 7e546d764..6ff64d086 100755 --- a/configure.ac +++ b/configure.ac @@ -1574,14 +1574,6 @@ AC_SUBST(CFG_SYSCONF) AC_SUBST(CFG_SBIN) AC_SUBST(CFG_STATE) -dnl ------------------------------- -dnl Quagga sources should always be -dnl current wrt interfaces. Dont -dnl allow deprecated interfaces to -dnl be exposed. -dnl ------------------------------- -AC_DEFINE(QUAGGA_NO_DEPRECATED_INTERFACES, 1, Hide deprecated interfaces) - dnl --------------------------- dnl Check htonl works correctly dnl --------------------------- diff --git a/lib/linklist.h b/lib/linklist.h index 052025a86..cd6e2f13a 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 */ |