diff options
| author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2026-01-09 13:05:25 +0100 |
|---|---|---|
| committer | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2026-01-09 13:05:25 +0100 |
| commit | c1384375bc55c41bc79a1e1bcce57ffee263b52d (patch) | |
| tree | 6c20e786dbb7eeeaf792a9d095ac0e887e2cb08c /plugins/check_snmp.d/check_snmp_helpers.h | |
| parent | bfc6492562f6cef4badda192142a0d10a3ed870b (diff) | |
| download | monitoring-plugins-c1384375.tar.gz | |
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); |
