string-util: add str_common_prefix() helper that determines length of common prefix of two strings
This commit is contained in:
@@ -308,3 +308,5 @@ bool version_is_valid_versionspec(const char *s);
|
||||
ssize_t strlevenshtein(const char *x, const char *y);
|
||||
|
||||
char* strrstr(const char *haystack, const char *needle);
|
||||
|
||||
size_t str_common_prefix(const char *a, const char *b);
|
||||
|
||||
Reference in New Issue
Block a user