diff options
author | Wayne Davison <wayned@samba.org> | 2007-11-09 19:28:27 +0000 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2007-11-09 19:28:27 +0000 |
commit | 6228239894e946546d7ff33a576453ed4fca04f2 (patch) | |
tree | ab725e8bef7aac49e679650b88c4d8caa8150294 /mkproto.pl | |
parent | 4da09a65f84b2ebca6bf05e6b793868fc683b40f (diff) | |
download | android_external_rsync-6228239894e946546d7ff33a576453ed4fca04f2.tar.gz android_external_rsync-6228239894e946546d7ff33a576453ed4fca04f2.tar.bz2 android_external_rsync-6228239894e946546d7ff33a576453ed4fca04f2.zip |
Include the arg name for the lp_*() funtions.
Diffstat (limited to 'mkproto.pl')
-rw-r--r-- | mkproto.pl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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_]* /) { ; |