summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2010-07-21 15:00:03 +0100
committerNicholas Clark <nick@ccl4.org>2010-07-21 15:00:50 +0100
commit8af6f9854c44f2d52182097da3cf09138646e6a2 (patch)
treee4548c818ec27445f982c9dbc48e1da81d66acb3
parent067bb83c81c90d49b193f506de7fb39006f8b3c2 (diff)
downloadperl-8af6f9854c44f2d52182097da3cf09138646e6a2.tar.gz
Fix error in 5b235299a82969c3, which gcc didn't spot, but g++ did.
C, of course, is happy enough without a function prototype.
-rw-r--r--embed.fnc3
-rw-r--r--proto.h2
2 files changed, 3 insertions, 2 deletions
diff --git a/embed.fnc b/embed.fnc
index 751b9aa42b..dc667b7fac 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -517,8 +517,9 @@ sR |bool |ingroup |Gid_t testgid|bool effective
#endif
: Used in toke.c
p |void |init_argv_symbols|int argc|NN char **argv
+: Used in pp_ctl.c
+po |void |init_dbargs
: Used in mg.c
-po |void |init_db_args
p |void |init_debugger
Ap |void |init_stacks
Ap |void |init_tm |NN struct tm *ptm
diff --git a/proto.h b/proto.h
index 08cb30bd87..8ad7e66144 100644
--- a/proto.h
+++ b/proto.h
@@ -1164,7 +1164,7 @@ PERL_CALLCONV void Perl_init_argv_symbols(pTHX_ int argc, char **argv)
#define PERL_ARGS_ASSERT_INIT_ARGV_SYMBOLS \
assert(argv)
-PERL_CALLCONV void Perl_init_db_args(pTHX);
+PERL_CALLCONV void Perl_init_dbargs(pTHX);
PERL_CALLCONV void Perl_init_debugger(pTHX);
PERL_CALLCONV void Perl_init_stacks(pTHX);
PERL_CALLCONV void Perl_init_tm(pTHX_ struct tm *ptm)