From b48cb1f130cda9818d06aaf74cdc7d2aef13bf42 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Tue, 10 Sep 2013 22:29:46 +0200 Subject: Fix GCC's -Wimplicit-function-declaration warnings Fix the issues found by GCC when the -Wimplicit-function-declaration flag is specified. --- plugins/check_ide_smart.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'plugins/check_ide_smart.c') diff --git a/plugins/check_ide_smart.c b/plugins/check_ide_smart.c index ee6bf7bd..0a8009ab 100644 --- a/plugins/check_ide_smart.c +++ b/plugins/check_ide_smart.c @@ -164,8 +164,14 @@ enum SmartCommand SMART_CMD_AUTO_OFFLINE }; -void print_values (values_t * p, thresholds_t * t); -int smart_cmd_simple (int fd, enum SmartCommand command, __u8 val0, char show_error); +char *get_offline_text (int); +int smart_read_values (int, values_t *); +int values_not_passed (values_t *, thresholds_t *); +int nagios (values_t *, thresholds_t *); +void print_value (value_t *, threshold_t *); +void print_values (values_t *, thresholds_t *); +int smart_cmd_simple (int, enum SmartCommand, __u8, char); +int smart_read_thresholds (int, thresholds_t *); int main (int argc, char *argv[]) -- cgit v1.2.3-74-g34f1