diff options
author | Simon Bertrang <simon@cvs.openbsd.org> | 2008-09-29 17:47:00 +0000 |
---|---|---|
committer | Simon Bertrang <simon@cvs.openbsd.org> | 2008-09-29 17:47:00 +0000 |
commit | 292dc4f6dc55ce3effae71fddf2269974317e20b (patch) | |
tree | 5cba214c40ba9bc504dc5353d7a50ba60b2c111d /usr.sbin | |
parent | 00dd722c5378e478eed4daa17120ab518ad2f0b8 (diff) |
add prototype for Carp::croak to prevent error under perl 5.10
feedback by espie@, prodded by millert@
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/Error.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Error.pm b/usr.sbin/pkg_add/OpenBSD/Error.pm index e791c295e4c..e1073fdcf96 100644 --- a/usr.sbin/pkg_add/OpenBSD/Error.pm +++ b/usr.sbin/pkg_add/OpenBSD/Error.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: Error.pm,v 1.13 2008/06/21 13:23:09 espie Exp $ +# $OpenBSD: Error.pm,v 1.14 2008/09/29 17:46:59 simon Exp $ # # Copyright (c) 2004 Marc Espie <espie@openbsd.org> # @@ -27,6 +27,8 @@ our ($FileName, $Line, $FullMessage); my @signal_name = (); +sub Carp::croak; + sub fillup_names { { |