diff options
Diffstat (limited to 'source4/build')
-rw-r--r-- | source4/build/pidl/ejs.pm | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/source4/build/pidl/ejs.pm b/source4/build/pidl/ejs.pm index 4a106f6176..57ede8de64 100644 --- a/source4/build/pidl/ejs.pm +++ b/source4/build/pidl/ejs.pm @@ -51,10 +51,10 @@ sub EJSInterface($) sub Parse($$) { my($ndr,$hdr) = @_; - my @fns = (); + my @fns = (); - $res = ""; - pidl "#include \"$hdr\"\n\n"; + $res = ""; + pidl "#include \"$hdr\"\n\n"; pidl "/* EJS wrapper functions auto-generated by pidl */\n\n"; foreach my $x (@{$ndr}) { if ($x->{TYPE} eq "INTERFACE") { @@ -62,12 +62,12 @@ sub Parse($$) } } - pidl "void setup_ejs_functions(void)\n"; - pidl "{\n"; - foreach (@fns) { + pidl "void setup_ejs_functions(void)\n"; + pidl "{\n"; + foreach (@fns) { pidl "\tespDefineCFunction(NULL, \"$_\", esp_$_, NULL);\n"; - } - pidl "}\n"; + } + pidl "}\n"; return $res; } |