summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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++) {