summaryrefslogtreecommitdiff
path: root/src/sysfs-show.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-08-21 21:28:40 -0400
committerAnthony G. Basile <blueness@gentoo.org>2014-08-22 08:04:30 -0400
commitc1402fc74466c41f0c8663ceee1b96d7c2ccce84 (patch)
tree7aac6154261d7f2bfce2f77b4d51ac1a1cb10b41 /src/sysfs-show.c
parente8011305b20e41a499f54a4d42f4e393f7ebc908 (diff)
util: change return value of startswith() to non-consteudev/v1.10
This way we can use it on non-const strings, and don't end up with a const'ified result. This is similar to libc's strstr() which also takes a const string but returns a non-const one. Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/sysfs-show.c')
0 files changed, 0 insertions, 0 deletions