]> git.proxmox.com Git - mirror_frr.git/commitdiff
Merge pull request #227 from qlyoung/stable-no-deprecated
authorRuss White <russ@riw.us>
Wed, 1 Mar 2017 14:53:17 +0000 (09:53 -0500)
committerGitHub <noreply@github.com>
Wed, 1 Mar 2017 14:53:17 +0000 (09:53 -0500)
*: remove QUAGGA_NO_DEPRECATED_INTERFACES

configure.ac
lib/linklist.h

index 7e546d7643eb47adcca9a34f1f4d602431e5c552..6ff64d086ab0c1d6f7fc44c00f0c35d0d1ff7203 100755 (executable)
@@ -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 ---------------------------
index 052025a86c316d2ec3cce811bc920dbd426bc684..cd6e2f13aa3015f739cce78dc702e0f778a61d78 100644 (file)
@@ -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 */