summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2022-03-26 13:47:42 +0100
committerRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2022-03-26 13:47:42 +0100
commit0c9fae5758838fa7fff774443e3d004110264771 (patch)
tree44d00a9d7cdf04e6db7d7ec519a17093875b88c1
parentb0115b2b92fb4a2ba2d844ee867bacf77e518d66 (diff)
downloadmonitoring-plugins-0c9fae5758838fa7fff774443e3d004110264771.tar.gz
Declare crash function as noreturn
-rw-r--r--plugins-root/check_icmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins-root/check_icmp.c b/plugins-root/check_icmp.c
index 1b6a5e17..c7e18653 100644
--- a/plugins-root/check_icmp.c
+++ b/plugins-root/check_icmp.c
@@ -196,7 +196,7 @@ static int handle_random_icmp(unsigned char *, struct sockaddr_storage *);
196static void parse_address(struct sockaddr_storage *, char *, int); 196static void parse_address(struct sockaddr_storage *, char *, int);
197static unsigned short icmp_checksum(uint16_t *, size_t); 197static unsigned short icmp_checksum(uint16_t *, size_t);
198static void finish(int); 198static void finish(int);
199static void crash(const char *, ...); 199static void crash(const char *, ...) __attribute__((noreturn));
200 200
201/** external **/ 201/** external **/
202extern int optind, opterr, optopt; 202extern int optind, opterr, optopt;