summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2005-10-30 08:05:32 +0000
committerNicholas Clark <nick@ccl4.org>2005-10-30 08:05:32 +0000
commite4dba78629baadf544a977b8105c4c2d93050b21 (patch)
treeccfb57be30afc7aa0fe7f0d4871241bf72e2b5d0 /perl.h
parentdbab294c68e8160ef916906a4beca1da8c0c2ec5 (diff)
downloadperl-e4dba78629baadf544a977b8105c4c2d93050b21.tar.gz
Replace do_open() with a macro to call do_openn() with the extra two
0 paramters. Move the old body to mathoms.c. p4raw-id: //depot/perl@25889
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl.h b/perl.h
index 001bd69944..a74753902a 100644
--- a/perl.h
+++ b/perl.h
@@ -5390,6 +5390,9 @@ extern void moncontrol(int);
#pragma message disable (mainparm) /* Perl uses the envp in main(). */
#endif
+#define do_open(g, n, l, a, rm, rp, sf) \
+ do_openn(g, n, l, a, rm, rp, sf, (SV **) NULL, 0)
+
/* and finally... */
#define PERL_PATCHLEVEL_H_IMPLICIT
#include "patchlevel.h"