summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorBrian Fraser <fraserbn@gmail.com>2014-02-04 00:47:12 -0300
committerBrian Fraser <fraserbn@gmail.com>2014-02-05 04:32:50 -0300
commit8877297842b5b3706977e02b609692bf44fb2462 (patch)
treee491e3ab397564ada467c57547cbab6f4686ca27 /util.c
parentdc6d7f5c0d35ddfd7e124c5143d9f0309ca9a149 (diff)
downloadperl-8877297842b5b3706977e02b609692bf44fb2462.tar.gz
Fix the prototypes of some functions without context
Their prototypes are (void), but the implementation was ()
Diffstat (limited to 'util.c')
-rw-r--r--util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util.c b/util.c
index 47280a858b..9d4b24680a 100644
--- 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;