summaryrefslogtreecommitdiff
path: root/src/libsystemd/sd-bus/bus-protocol.h
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2014-11-05 12:56:49 +0100
committerDavid Herrmann <dh.herrmann@gmail.com>2014-11-05 12:58:10 +0100
commitcfe2061add5479710f6597899d632e64c54e62ef (patch)
tree91121679dff012d525f8cdbfce0d5570787bb406 /src/libsystemd/sd-bus/bus-protocol.h
parentf671774f52838d35d78e62ddcb781b5b65b3373f (diff)
udev: avoid magic constants in kernel-cmdline parsers
Lets recognize the fact that startswith() returns a pointer to the tail on success. Use it instead of hard-coding string-lengths as magic constants.
Diffstat (limited to 'src/libsystemd/sd-bus/bus-protocol.h')
0 files changed, 0 insertions, 0 deletions