[Ada] Simplify the VxWorks implementation of __gnat_environ
authorPatrick Bernardi <bernardi@adacore.com>
Tue, 28 Jul 2020 15:36:08 +0000 (11:36 -0400)
committerPierre-Marie de Rodat <derodat@adacore.com>
Wed, 21 Oct 2020 07:22:44 +0000 (03:22 -0400)
commit512fe5e067c8e0de195fe891bcdcc844da1eb7dd
tree0032953da33d41ec3222b4611464d448ed5acebe
parent54c49fcdd7064b20b557f1027ae03c9eac2b07d4
[Ada] Simplify the VxWorks implementation of __gnat_environ

gcc/ada/

* env.c (__gnat_environ): For VxWorks kernel simply return the
result of the envGet call. Do this for VxWorks 6 and 7 as they
both support the same API.
gcc/ada/env.c