summaryrefslogtreecommitdiff
path: root/src/shared/util.h
diff options
context:
space:
mode:
authorJosh Triplett <josh@joshtriplett.org>2014-03-11 16:45:56 -0700
committerLennart Poettering <lennart@poettering.net>2014-03-12 17:02:06 +0100
commite0333c7314e89c0bc268bd20c5e247a7c907ab34 (patch)
tree5c662cb5f35346a82856fb8e7af3819d2d6e1e75 /src/shared/util.h
parent7b909d7407965c03caaba30daae7aee113627a83 (diff)
util: Rewrite in_charset to use strspn
This simplifies in_charset down to a one-liner, and allows for possible optimizations of strspn in libc.
Diffstat (limited to 'src/shared/util.h')
0 files changed, 0 insertions, 0 deletions