summaryrefslogtreecommitdiffstats
path: root/compat
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-08-14 23:54:02 +0200
committerMarcel Holtmann <marcel@holtmann.org>2008-08-14 23:54:02 +0200
commit499f651f1130465e58087e5c80c12a0c5776cd56 (patch)
tree8b4ceddd7caa738ffe38a73b47938f04e03f1a68 /compat
parent9a82f7b06b55e26cd7c9920c2a31272b8db07aeb (diff)
Use const char *main_help instead of char main_help[]
Diffstat (limited to 'compat')
-rw-r--r--compat/dund.c4
-rw-r--r--compat/pand.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/compat/dund.c b/compat/dund.c
index dea945d2..cf4145e8 100644
--- a/compat/dund.c
+++ b/compat/dund.c
@@ -403,9 +403,9 @@ static struct option main_lopts[] = {
{ 0, 0, 0, 0 }
};
-static char main_sopts[] = "hsc:k:Kr:i:lnp::DQ::AESMP:C::P:Xam:u";
+static const char *main_sopts = "hsc:k:Kr:i:lnp::DQ::AESMP:C::P:Xam:u";
-static char main_help[] =
+static const char *main_help =
"Bluetooth LAP (LAN Access over PPP) daemon version " VERSION " \n"
"Usage:\n"
"\tdund <options> [pppd options]\n"
diff --git a/compat/pand.c b/compat/pand.c
index ed80c7a5..4c0fcbd7 100644
--- a/compat/pand.c
+++ b/compat/pand.c
@@ -569,9 +569,9 @@ static struct option main_lopts[] = {
{ 0, 0, 0, 0 }
};
-static char main_sopts[] = "hsc:k:Kr:d:e:i:lnp::DQ::AESMC::P:u:o:z";
+static const char *main_sopts = "hsc:k:Kr:d:e:i:lnp::DQ::AESMC::P:u:o:z";
-static char main_help[] =
+static const char *main_help =
"Bluetooth PAN daemon version " VERSION " \n"
"Usage:\n"
"\tpand <options>\n"