From 9d9826a3d29ca30802399ae2e66b4d457eccd2be Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 20 Jul 2009 07:11:22 +0200 Subject: remove prototype from renamehook Recursive calls make perl whine about protypes, and it wasn't adding any value. --- IkiWiki/Plugin/rename.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'IkiWiki') diff --git a/IkiWiki/Plugin/rename.pm b/IkiWiki/Plugin/rename.pm index d0e5894dc..c3e03496f 100644 --- a/IkiWiki/Plugin/rename.pm +++ b/IkiWiki/Plugin/rename.pm @@ -480,7 +480,7 @@ sub renamepage_hook ($$$$) { return $content; } -sub rename_hook (@) { +sub rename_hook { my %params = @_; my @torename=@{$params{torename}}; -- cgit v1.2.3