]> err.no Git - varnish/commitdiff
bandaid for name-clash
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 1 May 2006 12:27:51 +0000 (12:27 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 1 May 2006 12:27:51 +0000 (12:27 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@162 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/varnishd.c

index 4f1a7117d4bee9b57db771bc1cf77efd77111b1c..aabc1492239ac807adb3b47efd6ecb5c255220cc 100644 (file)
@@ -138,8 +138,9 @@ cli_func_config_inline(struct cli *cli, char **av, void *priv __unused)
            "config.load %s %s", av[2], vf);
 }
 
+/* XXX: m prefix to avoid name clash */
 static void
-cli_func_config_load(struct cli *cli, char **av, void *priv __unused)
+m_cli_func_config_load(struct cli *cli, char **av, void *priv __unused)
 {
        char *vf;
        struct sbuf *sb;
@@ -226,7 +227,7 @@ static struct cli_proto cli_proto[] = {
        { CLI_URL_QUERY,        cli_func_passthrough, NULL },
        { CLI_URL_PURGE,        cli_func_passthrough, NULL },
        { CLI_URL_STATUS,       cli_func_passthrough, NULL },
-       { CLI_CONFIG_LOAD,      cli_func_config_load, NULL },
+       { CLI_CONFIG_LOAD,      m_cli_func_config_load, NULL },
        { CLI_CONFIG_INLINE,    cli_func_config_inline, NULL },
        { CLI_CONFIG_UNLOAD,    cli_func_passthrough, NULL },
        { CLI_CONFIG_LIST,      cli_func_passthrough, NULL },