From 499f651f1130465e58087e5c80c12a0c5776cd56 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Thu, 14 Aug 2008 23:54:02 +0200 Subject: Use const char *main_help instead of char main_help[] --- compat/dund.c | 4 ++-- compat/pand.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'compat') 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 [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 \n" -- cgit