diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2025-05-09 10:49:02 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2025-05-09 10:49:02 +0200 |
commit | ec47bbbda6b99f0efc1801a424812a4dd457f9b6 (patch) | |
tree | b12e5162207f94323448fd89e0e1ab3d97ef2703 /lib/utils_cmd.h | |
parent | 22366b6958ac43e2d6d2fe63a3e880e20c4ad981 (diff) | |
download | monitoring-plugins-fix_check_apt_const_char.tar.gz |
changed filename in cmd_file_read to const char * (check_apt warning)fix_check_apt_const_char
Diffstat (limited to 'lib/utils_cmd.h')
-rw-r--r-- | lib/utils_cmd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/utils_cmd.h b/lib/utils_cmd.h index d00069c9..728ece23 100644 --- a/lib/utils_cmd.h +++ b/lib/utils_cmd.h | |||
@@ -20,7 +20,7 @@ typedef struct output output; | |||
20 | /** prototypes **/ | 20 | /** prototypes **/ |
21 | int cmd_run(const char *, output *, output *, int); | 21 | int cmd_run(const char *, output *, output *, int); |
22 | int cmd_run_array(char *const *, output *, output *, int); | 22 | int cmd_run_array(char *const *, output *, output *, int); |
23 | int cmd_file_read(char *, output *, int); | 23 | int cmd_file_read(const char *, output *, int); |
24 | 24 | ||
25 | /* only multi-threaded plugins need to bother with this */ | 25 | /* only multi-threaded plugins need to bother with this */ |
26 | void cmd_init(void); | 26 | void cmd_init(void); |