tilegx: fix strstr to build and link better
commit95dee05f17563f737e5a34fde97bdc7fa02a5185
authorChris Metcalf <cmetcalf@ezchip.com>
Sat, 20 Dec 2014 03:46:52 +0000 (19 22:46 -0500)
committerChris Metcalf <cmetcalf@ezchip.com>
Sat, 20 Dec 2014 03:54:35 +0000 (19 22:54 -0500)
treebb65a520fdc24a7b53efd45f96c3ff3b5176a507
parent0c73b4ea0c5cd6a82e7acace1ae6a6335ca02e2c
tilegx: fix strstr to build and link better

The two_way_short_needle() routine included from str-two-way.h
is not used, so mark it so to avoid compiler warnings.

Calling strnlen() breaks linknamespace tests, so change it
to __strnlen().
ChangeLog
sysdeps/tile/tilegx/strstr.c