summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2006-04-28 14:30:59 +0000
committerMarcel Holtmann <marcel@holtmann.org>2006-04-28 14:30:59 +0000
commit403066f6cd6f4df68f68178acc2db0926370e95c (patch)
treeb3009ecd03608c0ad9e4f46ed6b20a6d43b830d0 /tools
parentfedb15c7679ca336a1e66826678679c8a59c1bec (diff)
Cleanup main function declarations
Diffstat (limited to 'tools')
-rw-r--r--tools/hciconfig.c8
-rw-r--r--tools/hcitool.c2
-rw-r--r--tools/sdptool.c2
3 files changed, 6 insertions, 6 deletions
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;
diff --git a/tools/hcitool.c b/tools/hcitool.c
index 2ad26bfe..594c2601 100644
--- a/tools/hcitool.c
+++ b/tools/hcitool.c
@@ -2081,7 +2081,7 @@ static struct option main_options[] = {
{ 0, 0, 0, 0 }
};
-int main(int argc, char **argv)
+int main(int argc, char *argv[])
{
int opt, i, dev_id = -1;
bdaddr_t ba;
diff --git a/tools/sdptool.c b/tools/sdptool.c
index 8bee7985..8beff568 100644
--- a/tools/sdptool.c
+++ b/tools/sdptool.c
@@ -3786,7 +3786,7 @@ static struct option main_options[] = {
{ 0, 0, 0, 0 }
};
-int main(int argc, char **argv)
+int main(int argc, char *argv[])
{
int i, opt;