diff options
author | Brian Fraser <fraserbn@gmail.com> | 2014-02-04 01:00:40 -0300 |
---|---|---|
committer | Brian Fraser <fraserbn@gmail.com> | 2014-02-05 04:32:52 -0300 |
commit | 15eb3045c00fb672689d55100ccff4bb2985aaf5 (patch) | |
tree | aa8fb37bf8c7a7cc79d4b0fa03e1ad140eeafb7b /perlio.c | |
parent | 8877297842b5b3706977e02b609692bf44fb2462 (diff) | |
download | perl-15eb3045c00fb672689d55100ccff4bb2985aaf5.tar.gz |
Added missing prototypes.
This was mostly for XS functions defined in the core, but also
for a handful of functions in the :stdio layer.
Diffstat (limited to 'perlio.c')
-rw-r--r-- | perlio.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -310,6 +310,7 @@ PerlIO_openn(pTHX_ const char *layers, const char *mode, int fd, return NULL; } +XS(XS_PerlIO__Layer__find); /* prototype to pass -Wmissing-prototypes */ XS(XS_PerlIO__Layer__find) { dXSARGS; @@ -818,6 +819,7 @@ MGVTBL perlio_vtab = { perlio_mg_free }; +XS(XS_io_MODIFY_SCALAR_ATTRIBUTES); /* prototype to pass -Wmissing-prototypes */ XS(XS_io_MODIFY_SCALAR_ATTRIBUTES) { dXSARGS; @@ -858,6 +860,7 @@ PerlIO_tab_sv(pTHX_ PerlIO_funcs *tab) return sv; } +XS(XS_PerlIO__Layer__NoWarnings); /* prototype to pass -Wmissing-prototypes */ XS(XS_PerlIO__Layer__NoWarnings) { /* This is used as a %SIG{__WARN__} handler to suppress warnings @@ -871,6 +874,7 @@ XS(XS_PerlIO__Layer__NoWarnings) XSRETURN(0); } +XS(XS_PerlIO__Layer__find); /* prototype to pass -Wmissing-prototypes */ XS(XS_PerlIO__Layer__find) { dVAR; |