Remove unnecessary (and warning-causing) prototypes

This commit is contained in:
Charles Pigott 2017-09-07 17:43:33 +01:00
parent 5487c38350
commit 8896059fe4
1 changed files with 4 additions and 4 deletions

8
sanoid
View File

@ -70,7 +70,7 @@ exit 0;
#################################################################################### ####################################################################################
#################################################################################### ####################################################################################
sub monitor_health() { sub monitor_health {
my ($config, $snaps, $snapsbytype, $snapsbypath) = @_; my ($config, $snaps, $snapsbytype, $snapsbypath) = @_;
my %pools; my %pools;
my @messages; my @messages;
@ -93,13 +93,13 @@ sub monitor_health() {
print "$message\n"; print "$message\n";
exit $errlevel; exit $errlevel;
} # end monitor_health() }
#################################################################################### ####################################################################################
#################################################################################### ####################################################################################
#################################################################################### ####################################################################################
sub monitor_snapshots() { sub monitor_snapshots {
# nagios plugin format: exit 0,1,2,3 for OK, WARN, CRITICAL, or ERROR. # nagios plugin format: exit 0,1,2,3 for OK, WARN, CRITICAL, or ERROR.
@ -172,7 +172,7 @@ sub monitor_snapshots() {
print "$msg\n"; print "$msg\n";
exit $errorlevel; exit $errorlevel;
} # end monitor() }
#################################################################################### ####################################################################################
#################################################################################### ####################################################################################