diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-09-10 22:29:46 +0200 |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-09-10 22:29:46 +0200 |
commit | b48cb1f130cda9818d06aaf74cdc7d2aef13bf42 (patch) | |
tree | b53080fe5cf9b8ae1021dc226738afac973a5819 /plugins/check_ide_smart.c | |
parent | d4a781817cbe1c6168e0687aea968b7a6f348abe (diff) | |
download | monitoring-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.c | 10 |
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 | ||
167 | void print_values (values_t * p, thresholds_t * t); | 167 | char *get_offline_text (int); |
168 | int smart_cmd_simple (int fd, enum SmartCommand command, __u8 val0, char show_error); | 168 | int smart_read_values (int, values_t *); |
169 | int values_not_passed (values_t *, thresholds_t *); | ||
170 | int nagios (values_t *, thresholds_t *); | ||
171 | void print_value (value_t *, threshold_t *); | ||
172 | void print_values (values_t *, thresholds_t *); | ||
173 | int smart_cmd_simple (int, enum SmartCommand, __u8, char); | ||
174 | int smart_read_thresholds (int, thresholds_t *); | ||
169 | 175 | ||
170 | int | 176 | int |
171 | main (int argc, char *argv[]) | 177 | main (int argc, char *argv[]) |