From bfdc259824e23160ecb5035defd52eb1bcf55dbf Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Thu, 21 Aug 2014 15:18:04 +0200 Subject: libctrl: Make two internal helper functions static --- src/ctrl/control_cmd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ctrl/control_cmd.c b/src/ctrl/control_cmd.c index 8c920336..88a30a2a 100644 --- a/src/ctrl/control_cmd.c +++ b/src/ctrl/control_cmd.c @@ -49,7 +49,7 @@ static struct ctrl_cmd_map ccm[] = { {NULL} }; -int ctrl_cmd_str2type(char *s) +static int ctrl_cmd_str2type(char *s) { int i; for (i=0; ccm[i].cmd != NULL; i++) { @@ -59,7 +59,7 @@ int ctrl_cmd_str2type(char *s) return CTRL_TYPE_UNKNOWN; } -char *ctrl_cmd_type2str(int type) +static char *ctrl_cmd_type2str(int type) { int i; for (i=0; ccm[i].cmd != NULL; i++) { -- cgit v1.2.3