diff options
author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-06-20 11:29:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-20 11:29:07 +0200 |
commit | b8580c18e354b9070adbf464df186442d55dc120 (patch) | |
tree | c5d126ae124b6c48d34384472304803a01f0a7af /plugins/utils.h | |
parent | 916d3a52a0f01f05bbf42008fa5dddcee6ad7522 (diff) | |
parent | d2735eecd4c44ba4a2504304963e861a427e393e (diff) | |
download | monitoring-plugins-b8580c18e354b9070adbf464df186442d55dc120.tar.gz |
Merge pull request #2125 from RincewindsHat/refactor/check_icmp
Refactor check_icmp:
- Far less global variables
- Proper IPv6/legacy IP dual stack functionality (allowed mixed v4/v6 hosts)
- Improved readability/understandability
- General cleanup
Diffstat (limited to 'plugins/utils.h')
-rw-r--r-- | plugins/utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/utils.h b/plugins/utils.h index 92a6c115..1d3c153c 100644 --- a/plugins/utils.h +++ b/plugins/utils.h | |||
@@ -76,7 +76,7 @@ char *strnl(char *); | |||
76 | char *strpcpy(char *, const char *, const char *); | 76 | char *strpcpy(char *, const char *, const char *); |
77 | char *strpcat(char *, const char *, const char *); | 77 | char *strpcat(char *, const char *, const char *); |
78 | int xvasprintf(char **strp, const char *fmt, va_list ap); | 78 | int xvasprintf(char **strp, const char *fmt, va_list ap); |
79 | int xasprintf(char **strp, const char *fmt, ...); | 79 | int xasprintf(char **strp, const char *fmt, ...)__attribute__ ((format (printf, 2, 3))); |
80 | 80 | ||
81 | void usage(const char *) __attribute__((noreturn)); | 81 | void usage(const char *) __attribute__((noreturn)); |
82 | void usage2(const char *, const char *) __attribute__((noreturn)); | 82 | void usage2(const char *, const char *) __attribute__((noreturn)); |