]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/basic/string-util.h
bootctl: move toupper() implementation to string-util.h
authorLennart Poettering <lennart@poettering.net>
Tue, 19 Jul 2016 18:43:54 +0000 (20:43 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 21 Jul 2016 09:37:58 +0000 (11:37 +0200)
commit846b8fc30d52a63dd6a010e497aa80164fea31d8
tree187b22bdb92f928ab94cec3785d55eedb7f76145
parentfdc1af0a8ac1801a32192d2ad5d7e1245cecc34b
bootctl: move toupper() implementation to string-util.h

We already have tolower() calls there, hence let's unify this at one place.
Also, update the code to only use ASCII operations, so that we don't end up
being locale dependant.
src/basic/string-util.c
src/basic/string-util.h
src/boot/bootctl.c