summaryrefslogtreecommitdiff
path: root/pp_sys.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2011-01-09 10:54:58 +0000
committerNicholas Clark <nick@ccl4.org>2011-01-09 11:46:33 +0000
commit897d398936dd2fc088a265fba2a7b62fa97ed458 (patch)
tree38e2294c657822f375315f923e1daec3364e9ed0 /pp_sys.c
parent146326cb2bb55642adc3a8dbb7adf592f2e2e4e3 (diff)
downloadperl-897d398936dd2fc088a265fba2a7b62fa97ed458.tar.gz
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)
Diffstat (limited to 'pp_sys.c')
-rw-r--r--pp_sys.c4
1 files changed, 2 insertions, 2 deletions
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
}