diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2016-10-23 00:03:46 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2016-10-30 16:35:58 +0000 |
commit | d4d430ea4597ac788cf112587e0a715eed236551 (patch) | |
tree | b0796e2e932d795a899af2d2464ab37f63703a4e | |
parent | e20dab4cc2c1c40ac2b28c3a54078815bca55bf9 (diff) |
Some archive queries: Remove prototypes
That makes these easier to reuse for another method. No functional
change.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
-rwxr-xr-x | dgit | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1029,7 +1029,7 @@ sub api_query ($$;$) { return decode_json($json); } -sub canonicalise_suite_ftpmasterapi () { +sub canonicalise_suite_ftpmasterapi { my ($proto,$data) = @_; my $suites = api_query($data, 'suites'); my @matched; @@ -1053,7 +1053,7 @@ sub canonicalise_suite_ftpmasterapi () { return $cn; } -sub archive_query_ftpmasterapi () { +sub archive_query_ftpmasterapi { my ($proto,$data) = @_; my $info = api_query($data, "dsc_in_suite/$isuite/$package"); my @rows; |