aboutsummaryrefslogtreecommitdiffstats
path: root/src/ctrl/control_cmd.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2014-08-21 15:18:04 +0200
committerHarald Welte <laforge@gnumonks.org>2014-08-21 15:34:18 +0200
commitbfdc259824e23160ecb5035defd52eb1bcf55dbf (patch)
tree31d94ddfe512a886b42a5873cf09cc9ca1557b48 /src/ctrl/control_cmd.c
parent528134b01cd731d861b8e3c00554fdedf1e0b58f (diff)
libctrl: Make two internal helper functions static
Diffstat (limited to 'src/ctrl/control_cmd.c')
-rw-r--r--src/ctrl/control_cmd.c4
1 files 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++) {