summaryrefslogtreecommitdiff
path: root/ext/Fcntl/Fcntl.xs
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2010-10-19 08:42:25 +0100
committerNicholas Clark <nick@ccl4.org>2010-10-19 08:44:12 +0100
commit78f3c6825221f909e85e8dc3c862579483f92c53 (patch)
treeddbfbdc69cf3ed12d16cc9e4fdd611ec8042dfcd /ext/Fcntl/Fcntl.xs
parent0f848f672af19969695910e47f3dfe808b617836 (diff)
downloadperl-78f3c6825221f909e85e8dc3c862579483f92c53.tar.gz
Fix C++ build for Fcntl.xs.
96d24b8ce2ce0411 wasn't C++ friendly.
Diffstat (limited to 'ext/Fcntl/Fcntl.xs')
-rw-r--r--ext/Fcntl/Fcntl.xs5
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/Fcntl/Fcntl.xs b/ext/Fcntl/Fcntl.xs
index a66f66e725..33c3cf9635 100644
--- a/ext/Fcntl/Fcntl.xs
+++ b/ext/Fcntl/Fcntl.xs
@@ -33,9 +33,8 @@
--AD October 16, 1995
*/
-static XS(XS_Fcntl_S_ISREG); /* prototype to pass -Wmissing-prototypes */
-static
-XS(XS_Fcntl_S_ISREG)
+static void
+XS_Fcntl_S_ISREG(pTHX_ CV* cv)
{
dVAR;
dXSARGS;