env: Consolidate common code in hsearch_r()
authorJoe Hershberger <joe.hershberger@ni.com>
Wed, 12 Dec 2012 04:16:20 +0000 (22:16 -0600)
committerTom Rini <trini@ti.com>
Thu, 13 Dec 2012 18:46:54 +0000 (11:46 -0700)
commit3d3b52f2586a8bf1c53496547062594fd4386454
tree8524f556897ea5248de2d0a75c1755a53e7dacd5
parentc4e0057fa78ebb524b9241ad7245fcd1074ba414
env: Consolidate common code in hsearch_r()

The same chunk of code was replicated in two places and the following
changes will make that chunk grow a bit, so combine into a static func.

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