diff options
Diffstat (limited to 'lib/prefix.c')
| -rw-r--r-- | lib/prefix.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/prefix.c b/lib/prefix.c index b129665e7b..751f20cb83 100644 --- a/lib/prefix.c +++ b/lib/prefix.c @@ -1373,17 +1373,6 @@ void prefix_free(struct prefix *p) XFREE(MTYPE_PREFIX, p); } -/* Utility function. Check the string only contains digit - * character. - * FIXME str.[c|h] would be better place for this function. */ -int all_digit(const char *str) -{ - for (; *str != '\0'; str++) - if (!isdigit((int)*str)) - return 0; - return 1; -} - /* Utility function to convert ipv4 prefixes to Classful prefixes */ void apply_classful_mask_ipv4(struct prefix_ipv4 *p) { |
