chiark / gitweb /
i18n: sub prototypes for __ and f_
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 29 Sep 2018 10:35:09 +0000 (11:35 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 29 Sep 2018 11:48:13 +0000 (12:48 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Debian/Dgit/I18n.pm

index b86fec8..9c474ee 100644 (file)
@@ -20,7 +20,7 @@ BEGIN {
 }
 
 
-sub __ { gettext @_; }
-sub f_ { my $f = shift @_; sprintf +(gettext $f), @_; }
+sub __ ($) { gettext @_; }
+sub f_ ($$;@) { my $f = shift @_; sprintf +(gettext $f), @_; }
 
 1;