summaryrefslogtreecommitdiff
path: root/plan9/plan9ish.h
diff options
context:
space:
mode:
authorTony Cook <tony@develop-help.com>2016-05-16 16:51:51 +1000
committerTony Cook <tony@develop-help.com>2017-01-19 11:10:59 +1100
commit564894eac8e9ca301638cfa07ae8791b6132f146 (patch)
tree626b94ee2fa2f30aae93f255771bdfd453b78007 /plan9/plan9ish.h
parentfc408859b7454742bb5eff25287a44d5d1256f78 (diff)
downloadperl-564894eac8e9ca301638cfa07ae8791b6132f146.tar.gz
(perl #126228) partly revert 8cc95fdb and fix a3c8358c
a3c8358c changed: -#define dXSUB_SYS int dummy +#define dXSUB_SYS which made dXSUB_SYS into not-a-declaration, this apparently broke something, since 8cc95fdb then went through all the definitions of dXSUB_SYS, made each of them into not-a-declaration and then ensured ExtUtilis::Miniperl emitted dXSUB_SYS in a place where it didn't matter whether it was a declaration or a statement. When these changes were made perl.h didn't have dNOOP, but now we do, so we can make dXSUB_SYS a declaration again, as its name implies. Based on a patch originally created by Daniel Dragan (bulk88).
Diffstat (limited to 'plan9/plan9ish.h')
-rw-r--r--plan9/plan9ish.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/plan9/plan9ish.h b/plan9/plan9ish.h
index 0fdce125be..5c326f674b 100644
--- a/plan9/plan9ish.h
+++ b/plan9/plan9ish.h
@@ -106,7 +106,7 @@
#define BIT_BUCKET "/dev/null"
#define PERL_SYS_INIT_BODY(c,v) \
MALLOC_CHECK_TAINT2(*c,*v) PERLIO_INIT; MALLOC_INIT
-#define dXSUB_SYS
+#define dXSUB_SYS dNOOP
#define PERL_SYS_TERM_BODY() PERLIO_TERM; MALLOC_TERM
/*