From: Damien Neil Date: Thu, 3 Aug 2000 23:26:48 +0000 (+0000) Subject: Changed several variables from char* to const char* to remove warnings. X-Git-Tag: V3-BETA-2-PATCH-1~57 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2cd44219f4af3dc6efb3408e441b684dce5e89ab;p=thirdparty%2Fdhcp.git Changed several variables from char* to const char* to remove warnings. --- diff --git a/dhcpctl/cltest.c b/dhcpctl/cltest.c index cc4bba836..bb5c0e2fe 100644 --- a/dhcpctl/cltest.c +++ b/dhcpctl/cltest.c @@ -67,7 +67,8 @@ int main (argc, argv) dhcpctl_data_string result, groupname, identifier; int i; int mode = undefined; - char *name = 0, *pass = 0, *algorithm = "hmac-md5", *interface = 0; + const char *name = 0, *pass = 0, *algorithm = "hmac-md5"; + const char *interface = 0; const char *action; for (i = 1; i < argc; i++) {