]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
env: Simplify the reverse_strstr() interface
authorJoe Hershberger <joe.hershberger@ni.com>
Wed, 20 May 2015 19:27:18 +0000 (14:27 -0500)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:43:16 +0000 (22:43 +0200)
commitcd030e9b088cb7156359a221951e668c80a419f5
tree8cc4afb33557cac53e3473e61ed6a78e09e97c9e
parent2497ff4522cb27275f9443bff5a1cb1a2ba3b6cb
env: Simplify the reverse_strstr() interface

The logic to find the whole matching name was split needlessly between
the reverse_strstr function and its caller. Fully contain it to make the
interface for calling it more consistent.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
common/env_attr.c