summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-08-21 16:10:59 +0200
committerLennart Poettering <lennart@poettering.net>2014-08-21 17:24:21 +0200
commit11adc1aef7a1a6e9ba3fda8eb34eb5fadedc0385 (patch)
treedf0a121bd4f3db89e9d7bc7afd3d6276277581a5 /tools
parent3fdbc8205885f117b7dea289b44217310663e731 (diff)
util: change return value of startswith() to non-const
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.
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions