[ccan] [PATCH 1/3] memfuncs: Rename memmem module to memfuncs
david at gibson.dropbear.id.au
Tue Oct 21 07:35:47 AEDT 2014
On Mon, Oct 20, 2014 at 11:04:06AM +1030, Paul 'Rusty' Russell wrote:
> David Gibson <david at gibson.dropbear.id.au> writes:
> > Currently the 'memmem' module does nothing but provide an implementation of
> > the memmem() function if it is missing from the standard C library.
> > However there are other functions (e.g. memrchr()) also missing from some
> > C library implementations, so rename the module to memfuncs to allow
> > future inclusion of other functions.
> > This also updates the rfc822 module - the only existing user of the
> > memmem module - to use the new name.
> > Signed-off-by: David Gibson <david at gibson.dropbear.id.au>
> funcs is redundant. Just call it 'mem'. str did it...
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 819 bytes
Desc: not available
More information about the ccan