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>
Loading
Please register or sign in to comment