From 403066f6cd6f4df68f68178acc2db0926370e95c Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Fri, 28 Apr 2006 14:30:59 +0000 Subject: Cleanup main function declarations --- tools/hciconfig.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tools/hciconfig.c') diff --git a/tools/hciconfig.c b/tools/hciconfig.c index e6868f0c..3ebfc1c8 100644 --- a/tools/hciconfig.c +++ b/tools/hciconfig.c @@ -1532,12 +1532,12 @@ static void usage(void) } static struct option main_options[] = { - {"help", 0,0, 'h'}, - {"all", 0,0, 'a'}, - {0, 0, 0, 0} + { "help", 0, 0, 'h' }, + { "all", 0, 0, 'a' }, + { 0, 0, 0, 0 } }; -int main(int argc, char **argv, char **env) +int main(int argc, char *argv[]) { int opt, ctl, i, cmd=0; -- cgit