Fixed [ 786394 ] Patch for generated perl code does not compile under RedHat9

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5055 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Dave Beazley 2003-09-01 18:13:33 +00:00
commit c5b153d169

View file

@ -24,7 +24,7 @@ library is C++ safe.
%{
static void xs_init _((void));
static void xs_init _((pTHX));
static PerlInterpreter *my_perl;
int perl_eval(char *string) {
@ -64,7 +64,7 @@ main(int argc, char **argv, char **env)
/* EXTERN_C void boot_DynaLoader _((CV* cv)); */
static void
xs_init()
xs_init(pTHX)
{
/* dXSUB_SYS; */
char *file = __FILE__;