summaryrefslogtreecommitdiffstats
path: root/common/ratp/getenv.c
Commit message (Collapse)AuthorAgeFilesLines
* ratp: fix incorrect whitespaces in method callsAleksander Morgado2018-09-171-6/+6
| | | | | | | | This is a simple coding style fix to avoid the whitespace before the open-parenthesis in method calls. Signed-off-by: Aleksander Morgado <aleksander@aleksander.es> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ratp: implement getenv as a standard ratp commandAleksander Morgado2018-03-011-0/+51
Also, use xstrndup() instead of the custom xmemdup_add_zero() as we're working with strings anyway. Signed-off-by: Aleksander Morgado <aleksander@aleksander.es> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>