diff options
author | rillig <rillig@pkgsrc.org> | 2009-04-26 08:44:42 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2009-04-26 08:44:42 +0000 |
commit | 7b522b527485b0e279a10dd6d2a07da8887b2fdd (patch) | |
tree | e8c75123b15e29e0c365015885a6c78b9d2816f0 /pkgtools | |
parent | 46e36c31eadd6d3b1fd0f7af4f9c4a2f85b58186 (diff) | |
download | pkgsrc-7b522b527485b0e279a10dd6d2a07da8887b2fdd.tar.gz |
Removed unused functions.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pkglint/files/pkglint.pl | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl index 307d6de159e..49a8bcb3027 100644 --- a/pkgtools/pkglint/files/pkglint.pl +++ b/pkgtools/pkglint/files/pkglint.pl @@ -1,5 +1,5 @@ #! @PERL@ -# $NetBSD: pkglint.pl,v 1.807 2009/04/04 18:36:04 rillig Exp $ +# $NetBSD: pkglint.pl,v 1.808 2009/04/26 08:44:42 rillig Exp $ # # pkglint - static analyzer and checker for pkgsrc packages @@ -50,7 +50,6 @@ BEGIN { @EXPORT_OK = qw( assert false true dont_know doesnt_matter - min max array_to_hash normalize_pathname print_table ); } @@ -76,18 +75,6 @@ sub assert($$) { } } -sub min($$) { - my ($a, $b) = @_; - - return ($a < $b) ? $a : $b; -} - -sub max($$) { - my ($a, $b) = @_; - - return ($a > $b) ? $a : $b; -} - # Prints the C<$table> on the C<$out> stream. The C<$table> shall be an # array of rows, each row shall be an array of cells, and each cell shall # be a string. |