Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4da09a6
)
Include the arg name for the lp_*() funtions.
author
Wayne Davison
<wayned@samba.org>
Fri, 9 Nov 2007 19:28:27 +0000
(19:28 +0000)
committer
Wayne Davison
<wayned@samba.org>
Fri, 9 Nov 2007 19:28:27 +0000
(19:28 +0000)
mkproto.pl
patch
|
blob
|
blame
|
history
diff --git
a/mkproto.pl
b/mkproto.pl
index
b989a5f
..
11b0cd2
100644
(file)
--- 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_]* /) {
;