aboutsummaryrefslogtreecommitdiff
path: root/dpid
diff options
context:
space:
mode:
Diffstat (limited to 'dpid')
-rw-r--r--dpid/dpid.c2
-rw-r--r--dpid/main.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/dpid/dpid.c b/dpid/dpid.c
index 46c80109..f62aab5f 100644
--- a/dpid/dpid.c
+++ b/dpid/dpid.c
@@ -38,7 +38,7 @@ volatile sig_atomic_t caught_sigchld = 0;
/*! Return the basename of a filename
*/
-char *get_basename(char *filename)
+static char *get_basename(char *filename)
{
char *p;
diff --git a/dpid/main.c b/dpid/main.c
index 9a6ac6e1..065e7858 100644
--- a/dpid/main.c
+++ b/dpid/main.c
@@ -185,7 +185,7 @@ static int get_command(int sock, char *dpi_tag, struct dp *dpi_attr_list)
/*
* Check whether a dpi server is running
*/
-int server_is_running(char *server_id)
+static int server_is_running(char *server_id)
{
int i;