stdlib: Simplify getenv
commita6ccce23afc2a09a17ac2a86a2b726b58df609df
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 9 Feb 2023 13:36:57 +0000 (9 10:36 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Fri, 17 Feb 2023 18:56:50 +0000 (17 15:56 -0300)
treeb26fea12282455329f45f731eb330facfd1edcc8
parent11053fd4245c5cc0dbd885122e0ef28d11b2db7e
stdlib: Simplify getenv

And remove _STRING_ARCH_unaligned usage.

Checked on x86_64-linux-gnu and i686-linux-gnu.

Reviewed-by: Wilco Dijkstra <Wilco.Dijkstra@arm.com>
stdlib/getenv.c