diff options
author | Dave Mitchell <davem@fdisolutions.com> | 2007-09-25 18:00:32 +0000 |
---|---|---|
committer | Dave Mitchell <davem@fdisolutions.com> | 2007-09-25 18:00:32 +0000 |
commit | cbec8ebe2f7855c619451e56c6921e1537d3eba5 (patch) | |
tree | b15c2a3f29a517dce5b080fa94e0beef050444dc /unixish.h | |
parent | 6f8d0260355f8c4ae7955768122638ad99f0ebab (diff) | |
download | perl-cbec8ebe2f7855c619451e56c6921e1537d3eba5.tar.gz |
make PERL_SYS_INIT/INIT3/TERM into functions
p4raw-id: //depot/perl@31970
Diffstat (limited to 'unixish.h')
-rw-r--r-- | unixish.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -126,13 +126,13 @@ #define Fflush(fp) fflush(fp) #define Mkdir(path,mode) mkdir((path),(mode)) -#ifndef PERL_SYS_INIT -# define PERL_SYS_INIT(c,v) \ +#ifndef PERL_SYS_INIT_BODY +# define PERL_SYS_INIT_BODY(c,v) \ MALLOC_CHECK_TAINT2(*c,*v) PERL_FPU_INIT; PERLIO_INIT; MALLOC_INIT #endif -#ifndef PERL_SYS_TERM -# define PERL_SYS_TERM() \ +#ifndef PERL_SYS_TERM_BODY +# define PERL_SYS_TERM_BODY() \ if (!PL_veto_cleanup) { \ HINTS_REFCNT_TERM; OP_REFCNT_TERM; PERLIO_TERM; MALLOC_TERM; \ } |