diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2003-03-09 20:15:13 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2003-03-09 20:15:13 +0000 |
commit | 3c1e9986a4f0cb9d4e7a03af421826eb692ac840 (patch) | |
tree | 64a6cea7d58b8cc43406fe083d1e73e3755d88f7 /embed.pl | |
parent | 55222be88d47a690542bb115106ab0ffa7223aaa (diff) | |
download | perl-3c1e9986a4f0cb9d4e7a03af421826eb692ac840.tar.gz |
Must not hide the protos, though.
p4raw-id: //depot/perl@18871
Diffstat (limited to 'embed.pl')
-rwxr-xr-x | embed.pl | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -156,7 +156,7 @@ sub write_protos { } else { my ($flags,$retval,$func,@args) = @_; - $ret .= '/* ' if $flags =~ /[mX]/; + $ret .= '/* ' if $flags =~ /m/; if ($flags =~ /s/) { $retval = "STATIC $retval"; $func = "S_$func"; @@ -189,7 +189,7 @@ sub write_protos { $ret .= "\n#endif\n"; } $ret .= ";"; - $ret .= ' */' if $flags =~ /[mX]/; + $ret .= ' */' if $flags =~ /m/; $ret .= "\n"; } $ret; |