summaryrefslogtreecommitdiff
path: root/opcode.h
diff options
context:
space:
mode:
authorJonathan Biggar <jon@sems.com>1996-09-16 16:37:48 -0700
committerAndy Dougherty <doughera@lafcol.lafayette.edu>1996-09-16 16:37:48 -0700
commitc6ecf61fd8db79f1fc1b90463b6c61a4267ab923 (patch)
tree3a65fe37537db241987c84a5b58ed4bcefe7dc2d /opcode.h
parent69969c6f8dad38fedd2ed2c653a7948030e5ecf8 (diff)
downloadperl-c6ecf61fd8db79f1fc1b90463b6c61a4267ab923.tar.gz
Perl 5.003 bug when embedding in C++ program
The following patch is necessary in order to embed the Perl5.003 interpreter into a C++ program without getting prototype mismatch errors from the C++ compiler.
Diffstat (limited to 'opcode.h')
-rw-r--r--opcode.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/opcode.h b/opcode.h
index b13849d8aa..ce83340aee 100644
--- a/opcode.h
+++ b/opcode.h
@@ -1776,9 +1776,9 @@ EXT OP * (*ppaddr[])() = {
#endif
#ifndef DOINIT
-EXT OP * (*check[])();
+EXT OP * (*check[]) _((OP *op));
#else
-EXT OP * (*check[])() = {
+EXT OP * (*check[]) _((OP *op)) = {
ck_null, /* null */
ck_null, /* stub */
ck_fun, /* scalar */