Include the arg name for the lp_*() funtions.
authorWayne Davison <wayned@samba.org>
Fri, 9 Nov 2007 19:28:27 +0000 (19:28 +0000)
committerWayne Davison <wayned@samba.org>
Fri, 9 Nov 2007 19:28:27 +0000 (19:28 +0000)
mkproto.pl

index b989a5f..11b0cd2 100644 (file)
@@ -26,7 +26,7 @@ while (<>) {
     } elsif (/^FN_(LOCAL|GLOBAL)_([^(]+)\(([^,()]+)/) {
        $ret = $FN_MAP{$2};
        $func = $3;
-       $arg = $1 eq 'LOCAL' ? 'int ' : 'void';
+       $arg = $1 eq 'LOCAL' ? 'int module_id' : 'void';
        $protos .= "$ret$func($arg);\n";
     } elsif (/^static|^extern/ || /[;]/ || !/^[A-Za-z][A-Za-z0-9_]* /) {
        ;