summaryrefslogtreecommitdiff
path: root/win32/perllib.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-03-11 09:24:30 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-03-11 09:24:30 +0000
commit642f9debcae19ee23c984c3fbe5fa65e96398ea0 (patch)
tree0a66e5ac730cf14b4deb715cc804b13f40c95d64 /win32/perllib.c
parent41fda654fa6cc02628fe4f647a885518d2014b4e (diff)
downloadperl-642f9debcae19ee23c984c3fbe5fa65e96398ea0.tar.gz
perldelta update, typos and whitespace adjustments
p4raw-id: //depot/perl@5640
Diffstat (limited to 'win32/perllib.c')
-rw-r--r--win32/perllib.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/win32/perllib.c b/win32/perllib.c
index f240e2f0c0..6211ba7129 100644
--- a/win32/perllib.c
+++ b/win32/perllib.c
@@ -259,7 +259,6 @@ RunPerl(int argc, char **argv, char **env)
{
int exitstatus;
PerlInterpreter *my_perl, *new_perl = NULL;
- struct perl_thread *thr;
#ifndef __BORLANDC__
/* XXX this _may_ be a problem on some compilers (e.g. Borland) that
@@ -289,7 +288,7 @@ RunPerl(int argc, char **argv, char **env)
if (!(my_perl = perl_alloc()))
return (1);
- perl_construct( my_perl );
+ perl_construct(my_perl);
PL_perl_destruct_level = 0;
exitstatus = perl_parse(my_perl, xs_init, argc, argv, env);
@@ -312,15 +311,15 @@ RunPerl(int argc, char **argv, char **env)
# else
new_perl = perl_clone(my_perl, 1);
# endif
- exitstatus = perl_run( new_perl );
+ exitstatus = perl_run(new_perl);
PERL_SET_THX(my_perl);
#else
- exitstatus = perl_run( my_perl );
+ exitstatus = perl_run(my_perl);
#endif
}
- perl_destruct( my_perl );
- perl_free( my_perl );
+ perl_destruct(my_perl);
+ perl_free(my_perl);
#ifdef USE_ITHREADS
if (new_perl) {
PERL_SET_THX(new_perl);