Re: [PATCH 10/17] lib/time-util: copy time parsing functions from systemd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux