summaryrefslogtreecommitdiff
path: root/src/basic/string-util.h
diff options
context:
space:
mode:
authorSven Eden <sven.eden@prydeworx.com>2018-11-08 07:53:08 +0100
committerSven Eden <sven.eden@prydeworx.com>2018-11-08 08:02:57 +0100
commitb3ced55dae5e496d5e8741ca5e4fb5a4ba62a9a3 (patch)
tree8e61e8fb72686800e106e1cf40bf00e4558cab9a /src/basic/string-util.h
parent0300d4f6e98ae9c3cf65ce6719b3b4111e384621 (diff)
Prep v239.2: Fix migration errors in basic
Diffstat (limited to 'src/basic/string-util.h')
-rw-r--r--src/basic/string-util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/basic/string-util.h b/src/basic/string-util.h
index 46760cbc1..61d0d037c 100644
--- a/src/basic/string-util.h
+++ b/src/basic/string-util.h
@@ -236,6 +236,7 @@ static inline void *memory_startswith(const void *p, size_t sz, const char *toke
return (uint8_t*) p + n;
}
+#if 0 /// Not needed by elogind, only test-string-util uses this.
/* Like startswith_no_case(), but operates on arbitrary memory blocks.
* It works only for ASCII strings.
*/
@@ -257,3 +258,4 @@ static inline void *memory_startswith_no_case(const void *p, size_t sz, const ch
return (uint8_t*) p + n;
}
+#endif // 0