diff options
author | Josh Triplett <josh@joshtriplett.org> | 2014-03-11 16:45:56 -0700 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-03-12 17:02:06 +0100 |
commit | e0333c7314e89c0bc268bd20c5e247a7c907ab34 (patch) | |
tree | 5c662cb5f35346a82856fb8e7af3819d2d6e1e75 /src/shared/util.h | |
parent | 7b909d7407965c03caaba30daae7aee113627a83 (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