view modules/memchr2 @ 9995:901b50b38fae

Remove intprops dependency. * modules/memchr (Depends-on): Remove intprops. * modules/memrchr (Depends-on): Likewise. * modules/memchr2 (Depends-on): Likewise. * lib/memchr.c (__memchr): Hand-inline the TYPE_MAXIMUM check. * lib/memrchr.c (__memrchr): Likewise. * lib/memrchr2.c (memchr2): Likewise. Reported by Simon Josefsson. Signed-off-by: Eric Blake <ebb9@byu.net>
author Eric Blake <ebb9@byu.net>
date Mon, 28 Apr 2008 10:24:14 -0600 (2008-04-28)
parents 1c044d4812b8
children d80561fed06e
line wrap: on
line source
Description:
memchr2() function: scan memory for the first of two bytes.

Files:
lib/memchr2.h
lib/memchr2.c

Depends-on:
stdint
memchr

configure.ac:

Makefile.am:
lib_SOURCES += memchr2.h memchr2.c

Include:
"memchr2.h"

License:
GPL

Maintainer:
Eric Blake