diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-08-21 16:10:59 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-08-21 17:24:21 +0200 |
commit | 11adc1aef7a1a6e9ba3fda8eb34eb5fadedc0385 (patch) | |
tree | df0a121bd4f3db89e9d7bc7afd3d6276277581a5 /LICENSE.LGPL2.1 | |
parent | 3fdbc8205885f117b7dea289b44217310663e731 (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 'LICENSE.LGPL2.1')
0 files changed, 0 insertions, 0 deletions