Merge "Fix strlen function type for mips."
This commit is contained in:
commit
fbe9d3dfeb
|
@ -30,6 +30,7 @@
|
||||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <string.h>
|
||||||
#include "mips-string-ops.h"
|
#include "mips-string-ops.h"
|
||||||
|
|
||||||
#define do_strlen_word(__av) {\
|
#define do_strlen_word(__av) {\
|
||||||
|
@ -47,8 +48,8 @@
|
||||||
#define strlen my_strlen
|
#define strlen my_strlen
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int
|
size_t
|
||||||
strlen (const void *_a)
|
strlen (const char *_a)
|
||||||
{
|
{
|
||||||
int cnt = 0;
|
int cnt = 0;
|
||||||
unsigned x;
|
unsigned x;
|
||||||
|
|
Loading…
Reference in New Issue