summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--perl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl.h b/perl.h
index f4bb2436dc..30bee51558 100644
--- a/perl.h
+++ b/perl.h
@@ -359,7 +359,7 @@
/* Rats: if dTHR is just blank then the subsequent ";" throws an error */
/* Declaring a *function*, instead of a variable, ensures that we don't rely
on being able to suppress "unused" warnings. */
-#define dNOOP extern int Perl___notused()
+#define dNOOP extern int Perl___notused(void)
#ifndef pTHX
/* Don't bother defining tTHX and sTHX; using them outside