From 897d398936dd2fc088a265fba2a7b62fa97ed458 Mon Sep 17 00:00:00 2001 From: Nicholas Clark Date: Sun, 9 Jan 2011 10:54:58 +0000 Subject: Generate pp_* prototypes in pp_proto.h, and remove pp.sym Eliminate the #define pp_foo Perl_pp_foo(pTHX) macros, and update the 13 locations that relied on them. regen/opcode.pl now generates prototypes for the PP functions directly, into pp_proto.h. It no longer writes pp.sym, and regen/embed.pl no longer reads this, removing the only ordering dependency in the regen scripts. opcode.pl is now responsible for prototypes for pp_* functions. (embed.pl remains responsible for ck_* functions, reading from regen/opcodes) --- pp_sys.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pp_sys.c') diff --git a/pp_sys.c b/pp_sys.c index d8b31766d3..d6fd168087 100644 --- a/pp_sys.c +++ b/pp_sys.c @@ -4644,7 +4644,7 @@ PP(pp_shmwrite) PUSHi(value); RETURN; #else - return pp_semget(); + return Perl_pp_semget(aTHX); #endif } @@ -4681,7 +4681,7 @@ PP(pp_semctl) } RETURN; #else - return pp_semget(); + return Perl_pp_semget(aTHX); #endif } -- cgit v1.2.1