This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regcomp.c: don't include INTERN.h
authorDavid Mitchell <davem@iabyn.com>
Wed, 26 Dec 2018 20:50:16 +0000 (20:50 +0000)
committerDavid Mitchell <davem@iabyn.com>
Tue, 19 Feb 2019 13:28:12 +0000 (13:28 +0000)
commit3680775c4add74dd105f844256620954f5378054
treed5f922f488e17bd7ff1a2edd04b97f3b70997e96
parent37137b990496477796ac4de6505577c12f281b58
regcomp.c: don't include INTERN.h

This file only needs including by globals.c; it was being included
in regcomp.c too as the declarations in regcomp.h aren't included by
perl.h and thus don't get pulled into globals.c.  This was a confusing
and hacky workaround.

Instead, this commit causes globals.c to #include regcomp.h directly

After this commit, only globals.c #includes INTERN.h
globals.c
regcomp.c