diff options
author | ed <ed@FreeBSD.org> | 2010-01-31 14:51:04 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2010-01-31 14:51:04 +0000 |
commit | e48113132a62d511bbf3123991514b2cfd49f65a (patch) | |
tree | 64e48d4e4e23ffdcb956c8f7e2e4959c00556549 /lib/libc/regex/engine.c | |
parent | 5c7ad05f8866813b14216bc61facea7b8905eb72 (diff) | |
download | FreeBSD-src-e48113132a62d511bbf3123991514b2cfd49f65a.zip FreeBSD-src-e48113132a62d511bbf3123991514b2cfd49f65a.tar.gz |
Perform some cleanups to devname(3).
- Make sure the mode argument is either a character or a block device.
- Use S_IS*() instead of checking S_IF*-flags by hand.
- Don't use kern.devname when the argument is already NODEV.
- Always call snprintf with the proper amount of arguments corresponding
with the format.
- Perform some whitespace fixes. Tabs instead of 4 spaces, missing space
for return statement.
- Remove unneeded includes.
Diffstat (limited to 'lib/libc/regex/engine.c')
0 files changed, 0 insertions, 0 deletions