aboutsummaryrefslogtreecommitdiff
path: root/perl
diff options
context:
space:
mode:
Diffstat (limited to 'perl')
-rw-r--r--perl/Git.xs5
-rw-r--r--perl/Makefile.PL2
2 files changed, 3 insertions, 4 deletions
diff --git a/perl/Git.xs b/perl/Git.xs
index 9d247b713..8b06ebfae 100644
--- a/perl/Git.xs
+++ b/perl/Git.xs
@@ -29,7 +29,7 @@ report_xs(const char *prefix, const char *err, va_list params)
return buf;
}
-void
+static void NORETURN
die_xs(const char *err, va_list params)
{
char *str;
@@ -37,13 +37,12 @@ die_xs(const char *err, va_list params)
croak(str);
}
-int
+static void
error_xs(const char *err, va_list params)
{
char *str;
str = report_xs("error: ", err, params);
warn(str);
- return -1;
}
diff --git a/perl/Makefile.PL b/perl/Makefile.PL
index 54e8b20ed..92c140d39 100644
--- a/perl/Makefile.PL
+++ b/perl/Makefile.PL
@@ -3,7 +3,7 @@ use ExtUtils::MakeMaker;
sub MY::postamble {
return <<'MAKE_FRAG';
instlibdir:
- @echo $(INSTALLSITELIB)
+ @echo $(INSTALLSITEARCH)
MAKE_FRAG
}