From ebec4d5e4f5f93f62f0f5219119a94fa4a7b1a11 Mon Sep 17 00:00:00 2001 From: Reini Urban Date: Wed, 4 Nov 2009 13:38:05 -0800 Subject: [PATCH] Fix prototype mismatch error Signed-off-by: Michael Forney --- quilt/scripts/edmail.in | 2 +- quilt/scripts/remove-trailing-ws.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/quilt/scripts/edmail.in b/quilt/scripts/edmail.in index 8c87218..abe4589 100644 --- a/quilt/scripts/edmail.in +++ b/quilt/scripts/edmail.in @@ -16,7 +16,7 @@ BEGIN { if (eval { require Locale::gettext }) { import Locale::gettext; require POSIX; - import POSIX, qw(setlocale); + POSIX->import('setlocale'); } else { eval ' use constant LC_MESSAGES => 0; diff --git a/quilt/scripts/remove-trailing-ws.in b/quilt/scripts/remove-trailing-ws.in index 8179a9a..e715200 100644 --- a/quilt/scripts/remove-trailing-ws.in +++ b/quilt/scripts/remove-trailing-ws.in @@ -18,7 +18,7 @@ BEGIN { if (eval { require Locale::gettext }) { import Locale::gettext; require POSIX; - import POSIX, qw(setlocale); + POSIX->import('setlocale'); } else { eval ' use constant LC_MESSAGES => 0; -- 1.6.5.2