r25035: Fix some more warnings, use service pointer rather than service number in...
[vlendec/samba-autobuild/.git] / source4 / script / mkproto.pl
index 51888c704f589ac3010d1e4220a132e1a65253e0..84acd5069d0ba171756aa365a7064b305a250b62 100755 (executable)
@@ -139,7 +139,7 @@ sub handle_loadparm($$)
 
                my %smap = (
                            "GLOBAL" => "void",
-                           "LOCAL" => "int "
+                           "LOCAL" => "struct service *"
                            );
 
                $file->("$tmap{$type}$name($smap{$scope});\n");