Fix error in 5b235299a82969c3, which gcc didn't spot, but g++ did.
authorNicholas Clark <nick@ccl4.org>
Wed, 21 Jul 2010 14:00:03 +0000 (15:00 +0100)
committerNicholas Clark <nick@ccl4.org>
Wed, 21 Jul 2010 14:00:50 +0000 (15:00 +0100)
C, of course, is happy enough without a function prototype.

embed.fnc
proto.h

index 751b9aa..dc667b7 100644 (file)
--- 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 08cb30b..8ad7e66 100644 (file)
--- 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)