From b1268fc4455f61ee49412fc256106cd34e98ce7c Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Sun, 13 Jun 2004 23:50:55 +0000 Subject: r1123: Make all lp_ string functions return 'const char *'. Fix other 'const' warnings in the torture code. Andrew Bartlett (This used to be commit 5d39d7497f189da15d659b3f83b7314026040a15) --- source4/script/mkproto.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/script') diff --git a/source4/script/mkproto.pl b/source4/script/mkproto.pl index 02291fbb5b..3c505f64d2 100644 --- a/source4/script/mkproto.pl +++ b/source4/script/mkproto.pl @@ -34,7 +34,7 @@ sub handle_loadparm { my %tmap = ( "BOOL" => "BOOL ", "CONST_STRING" => "const char *", - "STRING" => "char *", + "STRING" => "const char *", "INTEGER" => "int ", "CHAR" => "char ", "LIST" => "const char **", -- cgit