Commit c0ac1640 authored by Alexandre Julliard's avatar Alexandre Julliard

make_specfiles: Support a magic comment to prevent forwarding an entry point.

parent f127a2c0
......@@ -202,6 +202,7 @@ sub update_spec_file($)
my %parent = %{$funcs{$func}};
goto done if $parent{spec} eq $descr{spec}; # the definition is in this spec file
goto done if $descr{comment} && $descr{comment} =~ /don't forward/;
if ($descr{callconv} ne "stub" && $descr{target} !~ /\./ && !$commented_out)
{
printf "%s:%u: note: %s already defined in %s\n", $file, $., $func, $parent{spec} if $show_duplicates;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment