diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-08-01 18:11:41 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-08-02 20:08:13 +0200 |
commit | a37f58e98a28a8249178659ff3608203f5503772 (patch) | |
tree | 71a2b9fb528c666d77550134fbaa45f338e94f04 /src/fsm.c | |
parent | 513b2e34789b1125d44105aaadab8a3ae3493c5b (diff) |
utils: share static buffer in osmo_str_to{lower,upper}()
This way we get rid of extra 128 bytes in memory per thread created.
It makes sense to share the buffer since it's same size and it doesn't
make much sense to be using both osmo_str_tolower and osmo_strtoupper at
the same time (usually you either want to move everything to uppercase
or everything to lowerase). In required scenarios, one can still use the
_buf versions.
Change-Id: I032803faa0e27c2efdff1ff276acabab95a8319a
Diffstat (limited to 'src/fsm.c')
0 files changed, 0 insertions, 0 deletions