OSDN Git Service

hidden_def/hidden_proto: convert all users (I hope) termios split, add some missing...
[uclinux-h8/uClibc.git] / libc / string / arm / strncmp.S
index a327872..82d45e8 100644 (file)
 #include <features.h>
 
 .text
-.global __strncmp
-.hidden __strncmp
-.type __strncmp,%function
+.global strncmp
+.type strncmp,%function
 .align 4
 
-__strncmp:
+strncmp:
        /* if (len == 0) return 0 */
        cmp     r2, #0
        moveq   r0, #0
@@ -56,6 +55,6 @@ __strncmp:
        sub     r0, r2, r3
        mov     pc, lr
 
-.size __strncmp,.-__strncmp
+.size strncmp,.-strncmp
 
-strong_alias(__strncmp,strncmp)
+libc_hidden_def(strncmp)