Hi Sheldon, On Thu, Feb 10, 2011, Sheldon Demario wrote: > >> +static void cmd_help(int argcp, char **argvp); > >> +static void cmd_exit(int argcp, char **argvp); > > > > No forward-declarations please. Just reorder the functions so that you > > don't need to do this. > > The problem is the cmd_help() function. It must be declared to be > known by commands[] array. > The commands[] array also must be known by cmd_help(), so what do you > suggest to solve this? For that one a forward-declaration is fine. Johan -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html