projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc6d7f5
)
Fix the prototypes of some functions without context
author
Brian Fraser
<fraserbn@gmail.com>
Tue, 4 Feb 2014 03:47:12 +0000
(
00:47
-0300)
committer
Brian Fraser
<fraserbn@gmail.com>
Wed, 5 Feb 2014 07:32:50 +0000
(
04:32
-0300)
Their prototypes are (void), but the implementation was ()
perl.c
patch
|
blob
|
history
util.c
patch
|
blob
|
history
diff --git
a/perl.c
b/perl.c
index
e9c4606
..
72d0485
100644
(file)
--- a/
perl.c
+++ b/
perl.c
@@
-137,7
+137,7
@@
Perl_sys_init3(int* argc, char*** argv, char*** env)
}
void
-Perl_sys_term()
+Perl_sys_term(
void
)
{
dVAR;
if (!PL_veto_cleanup) {
diff --git
a/util.c
b/util.c
index
47280a8
..
9d4b246
100644
(file)
--- a/
util.c
+++ b/
util.c
@@
-1697,7
+1697,7
@@
paths reduces CPU cache pressure.
*/
void
-Perl_croak_no_modify()
+Perl_croak_no_modify(
void
)
{
Perl_croak_nocontext( "%s", PL_no_modify);
}
@@
-1706,7
+1706,7
@@
Perl_croak_no_modify()
This is typically called when malloc returns NULL.
*/
void
-Perl_croak_no_mem()
+Perl_croak_no_mem(
void
)
{
dTHX;
int rc;