In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/28922db9cdcd7167db49e97fc5d4d16456ceff36?hp=7335cb814c19345052a23bc4462c701ce734e6c5>
- Log ----------------------------------------------------------------- commit 28922db9cdcd7167db49e97fc5d4d16456ceff36 Author: David Mitchell <[email protected]> Date: Tue Apr 18 09:21:17 2017 +0100 add PERL_UTIL_H_ to util.h, not util.h With v5.25.11-59-g7335cb8 I added an include guard. PERL_UTIL_H_, but added it to util.c rather than util.h. I am not a smart man.... ----------------------------------------------------------------------- Summary of changes: util.c | 6 ------ util.h | 6 ++++++ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/util.c b/util.c index 2ca0291b80..b324af43ed 100644 --- a/util.c +++ b/util.c @@ -21,10 +21,6 @@ * dieing stuff, plus wrappers for malloc code. */ -#ifndef PERL_UTIL_H_ -#define PERL_UTIL_H_ - - #include "EXTERN.h" #define PERL_IN_UTIL_C #include "perl.h" @@ -6682,8 +6678,6 @@ Perl_dtrace_probe_phase(pTHX_ enum perl_phase phase) #endif -#endif /* PERL_UTIL_H_ */ - /* * ex: set ts=8 sts=4 sw=4 et: */ diff --git a/util.h b/util.h index 8f4171bebc..12a1c470ee 100644 --- a/util.h +++ b/util.h @@ -8,6 +8,10 @@ * */ +#ifndef PERL_UTIL_H_ +#define PERL_UTIL_H_ + + #ifdef VMS # define PERL_FILE_IS_ABSOLUTE(f) \ (*(f) == '/' \ @@ -236,6 +240,8 @@ means arg not present, 1 is empty string/null byte */ ((char *) memmem(big, bigend - big, little, lend - little)) #endif +#endif /* PERL_UTIL_H_ */ + /* * ex: set ts=8 sts=4 sw=4 et: */ -- Perl5 Master Repository
