chiark / gitweb /
bootctl: move toupper() implementation to string-util.h
authorLennart Poettering <lennart@poettering.net>
Tue, 19 Jul 2016 18:43:54 +0000 (20:43 +0200)
committerSven Eden <yamakuzure@gmx.net>
Wed, 5 Jul 2017 06:50:49 +0000 (08:50 +0200)
commit844d57fd5de46b45d8610d296dc5e20d749eff11
treece54aadd8bafcc58bc4d45c7fd275e0c55f9460f
parentc1d93f2a0a009a95440778c53d89aa693bc6787e
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