summaryrefslogtreecommitdiffstats
path: root/plugins/check_ide_smart.c
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2013-09-10 22:29:46 +0200
committerHolger 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
164 SMART_CMD_AUTO_OFFLINE 164 SMART_CMD_AUTO_OFFLINE
165 }; 165 };
166 166
167void print_values (values_t * p, thresholds_t * t); 167char *get_offline_text (int);
168int smart_cmd_simple (int fd, enum SmartCommand command, __u8 val0, char show_error); 168int smart_read_values (int, values_t *);
169int values_not_passed (values_t *, thresholds_t *);
170int nagios (values_t *, thresholds_t *);
171void print_value (value_t *, threshold_t *);
172void print_values (values_t *, thresholds_t *);
173int smart_cmd_simple (int, enum SmartCommand, __u8, char);
174int smart_read_thresholds (int, thresholds_t *);
169 175
170int 176int
171main (int argc, char *argv[]) 177main (int argc, char *argv[])