]> xenbits.xensource.com Git - osstest/rumprun.git/commitdiff
rumprun_config_path: extern -> static
authorAntti Kantee <pooka@iki.fi>
Tue, 20 Oct 2015 13:17:04 +0000 (13:17 +0000)
committerAntti Kantee <pooka@iki.fi>
Tue, 20 Oct 2015 13:17:04 +0000 (13:17 +0000)
include/rumprun-base/config.h
lib/librumprun_base/config.c

index 270560acef06ec2835e8a1df7cfc09f089e33f3e..5076a47655885857d4d9102e443eda7329cc9c6a 100644 (file)
@@ -31,8 +31,6 @@
 /* yeah, simple */
 #define RUMPRUN_DEFAULTUSERSTACK ((32*(sizeof(void *)/4)*4096)/1024)
 
-char *rumprun_config_path(char *);
-
 void   rumprun_config(char *);
 
 #define RUMPRUN_EXEC_BACKGROUND 0x01
index a1cd31b092660a0152f94db8c88b53b9eced9b13..cfd1dc6d28783c53ac330d020ee08a7e2bcfa291 100644 (file)
@@ -734,7 +734,7 @@ getcmdlinefromroot(const char *cfgname)
 
 #define ROOTCFG "_RUMPRUN_ROOTFSCFG="
 static const size_t rootcfglen = sizeof(ROOTCFG)-1;
-char *
+static char *
 rumprun_config_path(char *cmdline)
 {
        char *cfg = strstr(cmdline, ROOTCFG);