From 036fdaad9f341e1bd380d2eb6de048b49486f912 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Wed, 18 Apr 2018 07:06:11 -0400 Subject: lib, zebra: Move label conversion strings to lib The mpls_label2str and mpls_str2label functions should not be zebra exclusive functions. Move them to lib/mpls.c Signed-off-by: Donald Sharp --- zebra/zebra_mpls.h | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'zebra/zebra_mpls.h') diff --git a/zebra/zebra_mpls.h b/zebra/zebra_mpls.h index 20c733931..98905a283 100644 --- a/zebra/zebra_mpls.h +++ b/zebra/zebra_mpls.h @@ -163,18 +163,6 @@ struct zebra_fec_t_ { /* Function declarations. */ -/* - * String to label conversion, labels separated by '/'. - */ -int mpls_str2label(const char *label_str, uint8_t *num_labels, - mpls_label_t *labels); - -/* - * Label to string conversion, labels in string separated by '/'. - */ -char *mpls_label2str(uint8_t num_labels, mpls_label_t *labels, char *buf, - int len, int pretty); - /* * Add/update global label block. */ -- cgit v1.2.3