summaryrefslogtreecommitdiffstats
path: root/gl/streq.h
diff options
context:
space:
mode:
authorLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2026-01-09 14:57:57 +0100
committerGitHub <noreply@github.com>2026-01-09 14:57:57 +0100
commitda4fb28fca51b180d50608b0c847b1c0927cd8c5 (patch)
treed20769e0a61ac2ba76920190050d3e0a3e7c85b7 /gl/streq.h
parentb09a8b530df8a23610889d0b89b148f22db3568a (diff)
parentf694f4cd4dfead0da6feab04d92335d9bbe185b6 (diff)
downloadmonitoring-plugins-da4fb28f.tar.gz
Merge branch 'master' into refactor/check_ide_smart
Diffstat (limited to 'gl/streq.h')
-rw-r--r--gl/streq.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gl/streq.h b/gl/streq.h
index 8593de6d..1f1ff38f 100644
--- a/gl/streq.h
+++ b/gl/streq.h
@@ -1,5 +1,5 @@
1/* Optimized string comparison. 1/* Optimized string comparison.
2 Copyright (C) 2001-2002, 2007, 2009-2024 Free Software Foundation, Inc. 2 Copyright (C) 2001-2002, 2007, 2009-2025 Free Software Foundation, Inc.
3 3
4 This file is free software: you can redistribute it and/or modify 4 This file is free software: you can redistribute it and/or modify
5 it under the terms of the GNU Lesser General Public License as 5 it under the terms of the GNU Lesser General Public License as
@@ -26,7 +26,7 @@ extern "C" {
26#endif 26#endif
27 27
28 28
29/* STREQ_OPT allows to optimize string comparison with a small literal string. 29/* STREQ_OPT optimizes string comparison with a small literal string.
30 STREQ_OPT (s, "EUC-KR", 'E', 'U', 'C', '-', 'K', 'R', 0, 0, 0) 30 STREQ_OPT (s, "EUC-KR", 'E', 'U', 'C', '-', 'K', 'R', 0, 0, 0)
31 is semantically equivalent to 31 is semantically equivalent to
32 strcmp (s, "EUC-KR") == 0 32 strcmp (s, "EUC-KR") == 0