Introduce template commands for command_util.sh.
[paraslash.git] / afs.c
diff --git a/afs.c b/afs.c
index b5cf9f792e955d8c7df53483a3aeb7ec6970d1a1..0a3d1038560f8591fddc8072d59dd3ef3df7fd78 100644 (file)
--- a/afs.c
+++ b/afs.c
@@ -799,7 +799,7 @@ static int create_all_tables(void)
 }
 
 /* TODO load tables after init */
-static int com_init(__a_unused int fd, int argc, const char **argv)
+int com_init(__a_unused int fd, int argc, const char **argv)
 {
        int i, j, ret;
        if (argc == 1)
@@ -824,6 +824,7 @@ static int com_init(__a_unused int fd, int argc, const char **argv)
        return 1;
 }
 
+#if 0
 /** Describes a command of para_server. */
 struct command {
        /** The name of the command. */
@@ -954,7 +955,6 @@ static struct command afs_cmds[] = {
 }
 };
 
-#if 0
 static void call_callback(void)
 {
        struct osl_object query, result = {.data = NULL};