summaryrefslogtreecommitdiff
path: root/scope.c
diff options
context:
space:
mode:
authorMalcolm Beattie <mbeattie@sable.ox.ac.uk>1997-11-13 14:13:30 +0000
committerMalcolm Beattie <mbeattie@sable.ox.ac.uk>1997-11-13 14:13:30 +0000
commitc09156bb55f832ab6700e99026187942841f0ae4 (patch)
treef66ff50686e3fd8401b4d531089c099bf3656035 /scope.c
parent004955206412e3e53b76d4dad6bc7ac3032c300a (diff)
downloadperl-c09156bb55f832ab6700e99026187942841f0ae4.tar.gz
Change CONTEXT to PERL_CONTEXT throughout source (since the #define
to avoid the Digital UNIX clash no longer works). Changed the #ifdef in pp_sys.c for whether getnet* function get protoyped (since the default had a broken prototype for getnetbyaddr). p4raw-id: //depot/perl@247
Diffstat (limited to 'scope.c')
-rw-r--r--scope.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/scope.c b/scope.c
index fe7cb2d5b0..cc5c9c88ce 100644
--- a/scope.c
+++ b/scope.c
@@ -29,7 +29,7 @@ cxinc(void)
{
dTHR;
cxstack_max = cxstack_max * 3 / 2;
- Renew(cxstack, cxstack_max + 1, CONTEXT); /* XXX should fix CXINC macro */
+ Renew(cxstack, cxstack_max + 1, PERL_CONTEXT); /* XXX should fix CXINC macro */
return cxstack_ix + 1;
}
@@ -683,7 +683,7 @@ leave_scope(I32 base)
#ifdef DEBUGGING
void
-cx_dump(CONTEXT *cx)
+cx_dump(PERL_CONTEXT *cx)
{
dTHR;
PerlIO_printf(Perl_debug_log, "CX %ld = %s\n", (long)(cx - cxstack), block_type[cx->cx_type]);