diff options
| author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2026-01-09 14:18:31 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-09 14:18:31 +0100 |
| commit | f694f4cd4dfead0da6feab04d92335d9bbe185b6 (patch) | |
| tree | cd48ccd1fdac7a2b08eb0351fd95d2f6770a2277 /plugins/check_snmp.d/check_snmp_helpers.h | |
| parent | d13413916e72a6d564c796692e1233b92962d58c (diff) | |
| parent | 7484fcc2606fe1e49dff1ab5f24a69290786b78d (diff) | |
| download | monitoring-plugins-f694f4cd.tar.gz | |
Merge pull request #2218 from RincewindsHat/fix/compiler_warnings
Fix some minor compiler warnings
Diffstat (limited to 'plugins/check_snmp.d/check_snmp_helpers.h')
| -rw-r--r-- | plugins/check_snmp.d/check_snmp_helpers.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/check_snmp.d/check_snmp_helpers.h b/plugins/check_snmp.d/check_snmp_helpers.h index 0f7780b1..95b361ac 100644 --- a/plugins/check_snmp.d/check_snmp_helpers.h +++ b/plugins/check_snmp.d/check_snmp_helpers.h | |||
| @@ -66,6 +66,6 @@ typedef struct state_key_struct { | |||
| 66 | } state_key; | 66 | } state_key; |
| 67 | 67 | ||
| 68 | state_data *np_state_read(state_key stateKey); | 68 | state_data *np_state_read(state_key stateKey); |
| 69 | state_key np_enable_state(char *keyname, int expected_data_version, char *plugin_name, int argc, | 69 | state_key np_enable_state(char *keyname, int expected_data_version, const char *plugin_name, |
| 70 | char **argv); | 70 | int argc, char **argv); |
| 71 | void np_state_write_string(state_key stateKey, time_t timestamp, char *stringToStore); | 71 | void np_state_write_string(state_key stateKey, time_t timestamp, char *stringToStore); |
