From 6228239894e946546d7ff33a576453ed4fca04f2 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Fri, 9 Nov 2007 19:28:27 +0000 Subject: [PATCH] Include the arg name for the lp_*() funtions. --- mkproto.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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_]* /) { ; -- 2.34.1