summaryrefslogtreecommitdiff
path: root/pkgtools/pkglint
diff options
context:
space:
mode:
authorrillig <rillig>2009-04-26 08:44:42 +0000
committerrillig <rillig>2009-04-26 08:44:42 +0000
commiteb83a2518ea9ba1d2fd74cc18a11d16d49fd138a (patch)
treee8c75123b15e29e0c365015885a6c78b9d2816f0 /pkgtools/pkglint
parent7d50427697640b8e265b9bce42f109073277e758 (diff)
downloadpkgsrc-eb83a2518ea9ba1d2fd74cc18a11d16d49fd138a.tar.gz
Removed unused functions.
Diffstat (limited to 'pkgtools/pkglint')
-rw-r--r--pkgtools/pkglint/files/pkglint.pl15
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.