return s;
}
-static char *cmdgenerator(char *text, int state)
+static char *cmdgenerator(const char *text, int state)
{
static int list_index, len;
char *name;
return (char *)NULL;
}
-static char **cmdcomplete(char *text, int start, int end)
+static char **cmdcomplete(const char *text, int start, int end)
{
char **matches;
return cmd(word);
}
-static void fullline(void)
+static void fullline(char *x)
{
char *stripped;