summaryrefslogtreecommitdiff
path: root/mkproto.pl
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2007-11-09 19:28:27 +0000
committerWayne Davison <wayned@samba.org>2007-11-09 19:28:27 +0000
commit6228239894e946546d7ff33a576453ed4fca04f2 (patch)
treeab725e8bef7aac49e679650b88c4d8caa8150294 /mkproto.pl
parent4da09a65f84b2ebca6bf05e6b793868fc683b40f (diff)
downloadrsync-6228239894e946546d7ff33a576453ed4fca04f2.tar.gz
Include the arg name for the lp_*() funtions.
Diffstat (limited to 'mkproto.pl')
-rw-r--r--mkproto.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkproto.pl b/mkproto.pl
index b989a5f6..11b0cd2f 100644
--- a/mkproto.pl
+++ b/mkproto.pl
@@ -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_]* /) {
;