Man page: Move the description of --info=progress2 to a better place.
[rsync/rsync.git] / mkproto.pl
index b989a5f..cdeb2ea 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_]* /) {
        ;
@@ -44,3 +44,5 @@ if ($old_protos ne $protos) {
     print OUT $protos;
     close OUT;
 }
+
+open(OUT, '>proto.h-tstamp') and close OUT;