[ccan] [PATCH 1/3] memfuncs: Rename memmem module to memfuncs

Rusty Russell rusty at rustcorp.com.au
Mon Oct 20 11:34:06 AEDT 2014

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...


More information about the ccan mailing list