In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/35ffb081a8fa691dd8ceff9c56d5d00b3ef81b96?hp=f518ad753b4ba6b517e7e1a7b52d1c94e812a1dd>
- Log ----------------------------------------------------------------- commit 35ffb081a8fa691dd8ceff9c56d5d00b3ef81b96 Author: David Mitchell <[email protected]> Date: Fri Dec 12 18:24:03 2014 +0000 Sys/Hostname.xs: add prototyping behaviour Shut up the Please specify prototyping behavior for Hostname.xs (see perlxs manual) warning by specifying the default prototyping behaviour. It defaults to ENABLE, but I've changed it to be explicitly disabled - but it only contains 1 function which is only used internally, and has no args, so it doesn't really matter. ----------------------------------------------------------------------- Summary of changes: ext/Sys-Hostname/Hostname.pm | 2 +- ext/Sys-Hostname/Hostname.xs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ext/Sys-Hostname/Hostname.pm b/ext/Sys-Hostname/Hostname.pm index 76c7602..42e9293 100644 --- a/ext/Sys-Hostname/Hostname.pm +++ b/ext/Sys-Hostname/Hostname.pm @@ -14,7 +14,7 @@ our $VERSION; our $host; BEGIN { - $VERSION = '1.19'; + $VERSION = '1.20'; { local $SIG{__DIE__}; eval { diff --git a/ext/Sys-Hostname/Hostname.xs b/ext/Sys-Hostname/Hostname.xs index c1e9c60..c75bbce 100644 --- a/ext/Sys-Hostname/Hostname.xs +++ b/ext/Sys-Hostname/Hostname.xs @@ -18,6 +18,7 @@ #endif MODULE = Sys::Hostname PACKAGE = Sys::Hostname +PROTOTYPES: DISABLE void ghname() -- Perl5 Master Repository
