On Tue, Aug 27, 2013 at 07:06:12PM +0100, Sami Kerola wrote: > +static char *startswith(const char *s, const char *prefix) > +static char *startswith_no_case(const char *s, const char *prefix) > +static char *endswith(const char *s, const char *postfix) We already have startswith() and endswith() in libmount/src/utils.c. What about to move the code to lib/strutils.c (together with *_no_case() versions)? Karel -- Karel Zak <kzak@xxxxxxxxxx> http://karelzak.blogspot.com -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html