This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
embed.fnc: Remove pure function flag for static functions
authorKarl Williamson <khw@cpan.org>
Mon, 12 Dec 2016 21:47:33 +0000 (14:47 -0700)
committerKarl Williamson <khw@cpan.org>
Wed, 14 Dec 2016 17:45:02 +0000 (10:45 -0700)
commitcfe24c19270f6ccb34742b7199b21718cd2fd8aa
treede10510c9ffd28144be316602fac0bd41eb86c71
parenteafb5713f1d84947573aef6b00c8e4cbdf9a872a
embed.fnc: Remove pure function flag for static functions

As mentioned in the comments added in the commit immediately before this
one, declaring a static function pure doesn't tell the compiler anything
more than it can already figure out, and may be destructive if the
compiler decides to skip checking for pureness because we mistakenly
declared something pure that isn't

I added the R flag to the ones that didn't have it, as all these are run
to get their return values.
embed.fnc
proto.h