summaryrefslogtreecommitdiffstats
path: root/libnetdata/inlined.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-06-09 04:52:39 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-06-09 04:52:39 +0000
commit89f3604407aff8f4cb2ed958252c61e23c767e24 (patch)
tree7fbf408102cab051557d38193524d8c6e991d070 /libnetdata/inlined.h
parentAdding upstream version 1.34.1. (diff)
downloadnetdata-89f3604407aff8f4cb2ed958252c61e23c767e24.tar.xz
netdata-89f3604407aff8f4cb2ed958252c61e23c767e24.zip
Adding upstream version 1.35.0.upstream/1.35.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'libnetdata/inlined.h')
-rw-r--r--libnetdata/inlined.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/libnetdata/inlined.h b/libnetdata/inlined.h
index 6f236b8f4..7e7d8ebed 100644
--- a/libnetdata/inlined.h
+++ b/libnetdata/inlined.h
@@ -222,19 +222,6 @@ static inline long double str2ld(const char *s, char **endptr) {
}
}
-#ifdef NETDATA_STRCMP_OVERRIDE
-#ifdef strcmp
-#undef strcmp
-#endif
-#define strcmp(a, b) strsame(a, b)
-#endif // NETDATA_STRCMP_OVERRIDE
-
-static inline int strsame(const char *a, const char *b) {
- if(unlikely(a == b)) return 0;
- while(*a && *a == *b) { a++; b++; }
- return *a - *b;
-}
-
static inline char *strncpyz(char *dst, const char *src, size_t n) {
char *p = dst;