Fix strlen function type for mips.
Clang complains about incompatible-library-redeclaration. BUG: 17302369 Change-Id: I3ae36f24846408c6464b84b5bddb1747e1e4a971
This commit is contained in:
parent
9e307af982
commit
15b914c8f3
@ -30,6 +30,7 @@
|
||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
#include "mips-string-ops.h"
|
||||
|
||||
#define do_strlen_word(__av) {\
|
||||
@ -47,8 +48,8 @@
|
||||
#define strlen my_strlen
|
||||
#endif
|
||||
|
||||
int
|
||||
strlen (const void *_a)
|
||||
size_t
|
||||
strlen (const char *_a)
|
||||
{
|
||||
int cnt = 0;
|
||||
unsigned x;
|
||||
|
Loading…
Reference in New Issue
Block a user