Skip to content

Commit 6d6660a

Browse files
committed
PerlIO-via: fix PROTOTYPES typo
This line: PROTOTYPES: ENABLE; is actually an error: such declarations shouldn't end with a semicolon. However, the XS parser has historically treated anything it doesn't recognise following the PROTOTYPES: keyword as if was 'DISABLE'. So this commit changes it to 'DISABLE'. This should make no functional difference, but it will avoid this module starting to warn when ParseXS is updated shortly to be stricter.
1 parent e561b6e commit 6d6660a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ext/PerlIO-via/via.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
package PerlIO::via;
2-
our $VERSION = '0.19';
2+
our $VERSION = '0.20';
33
require XSLoader;
44
XSLoader::load();
55
1;

ext/PerlIO-via/via.xs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -704,7 +704,7 @@ static PERLIO_FUNCS_DECL(PerlIO_object) = {
704704
#endif /* Layers available */
705705

706706
MODULE = PerlIO::via PACKAGE = PerlIO::via
707-
PROTOTYPES: ENABLE;
707+
PROTOTYPES: DISABLE
708708

709709
BOOT:
710710
{

0 commit comments

Comments
 (0)