aboutsummaryrefslogtreecommitdiff
path: root/plugins/check_ide_smart.c
diff options
context:
space:
mode:
authorGravatar Holger Weiss <holger@zedat.fu-berlin.de> 2013-09-10 22:29:46 +0200
committerGravatar Holger Weiss <holger@zedat.fu-berlin.de> 2013-09-10 22:29:46 +0200
commitb48cb1f130cda9818d06aaf74cdc7d2aef13bf42 (patch)
treeb53080fe5cf9b8ae1021dc226738afac973a5819 /plugins/check_ide_smart.c
parentd4a781817cbe1c6168e0687aea968b7a6f348abe (diff)
downloadmonitoring-plugins-b48cb1f130cda9818d06aaf74cdc7d2aef13bf42.tar.gz
Fix GCC's -Wimplicit-function-declaration warnings
Fix the issues found by GCC when the -Wimplicit-function-declaration flag is specified.
Diffstat (limited to 'plugins/check_ide_smart.c')
-rw-r--r--plugins/check_ide_smart.c10
1 files changed, 8 insertions, 2 deletions
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[])