From: David Lamparter <[email protected]>
Signed-off-by: David Lamparter <[email protected]>
Reviewed-by: Philippe Guibert <[email protected]>
---
lib/.gitignore | 1 -
lib/Makefile.am | 10 +++-------
lib/memtypes.c | 16 ----------------
3 files changed, 3 insertions(+), 24 deletions(-)
delete mode 100644 lib/memtypes.c
diff --git a/lib/.gitignore b/lib/.gitignore
index 02aa432ce16d..930d737740c8 100644
--- a/lib/.gitignore
+++ b/lib/.gitignore
@@ -14,5 +14,4 @@ gitversion.h.tmp
.arch-ids
*~
*.loT
-memtypes.h
route_types.h
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 9b52931a8074..1e9b05ff15f7 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -13,11 +13,11 @@ libzebra_la_SOURCES = \
sockunion.c prefix.c thread.c if.c buffer.c table.c hash.c \
filter.c routemap.c distribute.c stream.c str.c log.c plist.c \
zclient.c sockopt.c smux.c agentx.c snmp.c md5.c if_rmap.c keychain.c
privs.c \
- sigevent.c pqueue.c jhash.c memtypes.c workqueue.c vrf.c \
+ sigevent.c pqueue.c jhash.c workqueue.c vrf.c \
memory.c \
memory_vty.c
-BUILT_SOURCES = memtypes.h route_types.h gitversion.h
+BUILT_SOURCES = route_types.h gitversion.h
libzebra_la_DEPENDENCIES = @LIB_REGEX@
@@ -29,7 +29,7 @@ pkginclude_HEADERS = \
memory.h network.h prefix.h routemap.h distribute.h sockunion.h \
str.h stream.h table.h thread.h vector.h version.h vty.h zebra.h \
plist.h zclient.h sockopt.h smux.h md5.h if_rmap.h keychain.h \
- privs.h sigevent.h pqueue.h jhash.h zassert.h memtypes.h \
+ privs.h sigevent.h pqueue.h jhash.h zassert.h \
workqueue.h route_types.h libospf.h vrf.h fifo.h \
memory_vty.h
@@ -39,13 +39,9 @@ noinst_HEADERS = \
EXTRA_DIST = \
regex.c regex-gnu.h \
queue.h \
- memtypes.pl \
route_types.pl route_types.txt \
gitversion.pl
-memtypes.h: $(srcdir)/memtypes.c $(srcdir)/memtypes.pl
- @PERL@ $(srcdir)/memtypes.pl < $(srcdir)/memtypes.c > $@
-
route_types.h: $(srcdir)/route_types.txt $(srcdir)/route_types.pl
@PERL@ $(srcdir)/route_types.pl < $(srcdir)/route_types.txt > $@
diff --git a/lib/memtypes.c b/lib/memtypes.c
deleted file mode 100644
index fe78f50ba062..000000000000
--- a/lib/memtypes.c
+++ /dev/null
@@ -1,16 +0,0 @@
-/*
- * Memory type definitions. This file is parsed by memtypes.awk to extract
- * MTYPE_ and memory_list_.. information in order to autogenerate
- * memtypes.h.
- *
- * The script is sensitive to the format (though not whitespace), see
- * the top of memtypes.awk for more details.
- */
-
-#include "zebra.h"
-#include "memory.h"
-
-DEFINE_MGROUP(BABELD, "babeld")
-DEFINE_MTYPE(BABELD, BABEL, "Babel structure")
-DEFINE_MTYPE(BABELD, BABEL_IF, "Babel interface")
-
--
2.1.4
_______________________________________________
Quagga-dev mailing list
[email protected]
https://lists.quagga.net/mailman/listinfo/quagga-dev