summaryrefslogtreecommitdiff
path: root/libc/string/i386
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string/i386')
-rw-r--r--libc/string/i386/memchr.c2
-rw-r--r--libc/string/i386/memcpy.c2
-rw-r--r--libc/string/i386/memmove.c2
-rw-r--r--libc/string/i386/memset.c2
-rw-r--r--libc/string/i386/strcat.c2
-rw-r--r--libc/string/i386/strchr.c2
-rw-r--r--libc/string/i386/strcmp.c2
-rw-r--r--libc/string/i386/strcpy.c2
-rw-r--r--libc/string/i386/strlen.c2
-rw-r--r--libc/string/i386/strncat.c2
-rw-r--r--libc/string/i386/strncmp.c2
-rw-r--r--libc/string/i386/strncpy.c2
-rw-r--r--libc/string/i386/strnlen.c2
-rw-r--r--libc/string/i386/strrchr.c2
14 files changed, 14 insertions, 14 deletions
diff --git a/libc/string/i386/memchr.c b/libc/string/i386/memchr.c
index b2fde07ad..229d42919 100644
--- a/libc/string/i386/memchr.c
+++ b/libc/string/i386/memchr.c
@@ -32,6 +32,7 @@
#include <string.h>
+libc_hidden_proto(memchr)
void *memchr(const void *cs, int c, size_t count)
{
int d0;
@@ -47,5 +48,4 @@ void *memchr(const void *cs, int c, size_t count)
:"=D" (__res), "=&c" (d0) : "a" (c),"0" (cs),"1" (count));
return __res;
}
-libc_hidden_proto(memchr)
libc_hidden_def(memchr)
diff --git a/libc/string/i386/memcpy.c b/libc/string/i386/memcpy.c
index 837d7d65b..a2b8d3d8c 100644
--- a/libc/string/i386/memcpy.c
+++ b/libc/string/i386/memcpy.c
@@ -32,6 +32,7 @@
#include <string.h>
+libc_hidden_proto(memcpy)
void *memcpy(void * to, const void * from, size_t n)
{
int d0, d1, d2;
@@ -49,5 +50,4 @@ void *memcpy(void * to, const void * from, size_t n)
: "memory");
return (to);
}
-libc_hidden_proto(memcpy)
libc_hidden_def(memcpy)
diff --git a/libc/string/i386/memmove.c b/libc/string/i386/memmove.c
index 8122803ef..a26fe2be1 100644
--- a/libc/string/i386/memmove.c
+++ b/libc/string/i386/memmove.c
@@ -32,6 +32,7 @@
#include <string.h>
+libc_hidden_proto(memmove)
void *memmove(void *dest, const void *src, size_t n)
{
int d0, d1, d2;
@@ -55,5 +56,4 @@ void *memmove(void *dest, const void *src, size_t n)
:"memory");
return dest;
}
-libc_hidden_proto(memmove)
libc_hidden_def(memmove)
diff --git a/libc/string/i386/memset.c b/libc/string/i386/memset.c
index bf527619a..eea48040a 100644
--- a/libc/string/i386/memset.c
+++ b/libc/string/i386/memset.c
@@ -32,6 +32,7 @@
#include <string.h>
+libc_hidden_proto(memset)
void *memset(void *s, int c, size_t count)
{
int d0, d1;
@@ -43,5 +44,4 @@ void *memset(void *s, int c, size_t count)
:"memory");
return s;
}
-libc_hidden_proto(memset)
libc_hidden_def(memset)
diff --git a/libc/string/i386/strcat.c b/libc/string/i386/strcat.c
index 5364c9029..e0b1f3b51 100644
--- a/libc/string/i386/strcat.c
+++ b/libc/string/i386/strcat.c
@@ -32,6 +32,7 @@
#include <string.h>
+libc_hidden_proto(strcat)
char *strcat(char * dest, const char * src)
{
int d0, d1, d2, d3;
@@ -47,5 +48,4 @@ char *strcat(char * dest, const char * src)
: "0" (src), "1" (dest), "2" (0), "3" (0xffffffff):"memory");
return dest;
}
-libc_hidden_proto(strcat)
libc_hidden_def(strcat)
diff --git a/libc/string/i386/strchr.c b/libc/string/i386/strchr.c
index 3f1aa7635..5ed87e816 100644
--- a/libc/string/i386/strchr.c
+++ b/libc/string/i386/strchr.c
@@ -32,6 +32,7 @@
#include <string.h>
+libc_hidden_proto(strchr)
char *strchr(const char *s, int c)
{
int d0;
@@ -49,6 +50,5 @@ char *strchr(const char *s, int c)
:"=a" (__res), "=&S" (d0) : "1" (s),"0" (c));
return __res;
}
-libc_hidden_proto(strchr)
libc_hidden_def(strchr)
strong_alias(strchr,index)
diff --git a/libc/string/i386/strcmp.c b/libc/string/i386/strcmp.c
index 81cc16c7f..e3cf88715 100644
--- a/libc/string/i386/strcmp.c
+++ b/libc/string/i386/strcmp.c
@@ -32,6 +32,7 @@
#include <string.h>
+libc_hidden_proto(strcmp)
int strcmp(const char *cs, const char *ct)
{
int d0, d1;
@@ -51,7 +52,6 @@ int strcmp(const char *cs, const char *ct)
:"1" (cs),"2" (ct));
return __res;
}
-libc_hidden_proto(strcmp)
libc_hidden_def(strcmp)
#ifndef __UCLIBC_HAS_LOCALE__
diff --git a/libc/string/i386/strcpy.c b/libc/string/i386/strcpy.c
index 361dcdbb9..9e2b81009 100644
--- a/libc/string/i386/strcpy.c
+++ b/libc/string/i386/strcpy.c
@@ -32,6 +32,7 @@
#include <string.h>
+libc_hidden_proto(strcpy)
char *strcpy(char * dest, const char * src)
{
int d0, d1, d2;
@@ -44,5 +45,4 @@ char *strcpy(char * dest, const char * src)
:"0" (src),"1" (dest) : "memory");
return dest;
}
-libc_hidden_proto(strcpy)
libc_hidden_def(strcpy)
diff --git a/libc/string/i386/strlen.c b/libc/string/i386/strlen.c
index 2ef57e3f8..f0767b600 100644
--- a/libc/string/i386/strlen.c
+++ b/libc/string/i386/strlen.c
@@ -32,6 +32,7 @@
#include <string.h>
+libc_hidden_proto(strlen)
size_t strlen(const char *s)
{
int d0;
@@ -44,5 +45,4 @@ size_t strlen(const char *s)
:"=c" (__res), "=&D" (d0) :"1" (s),"a" (0), "0" (0xffffffff));
return __res;
}
-libc_hidden_proto(strlen)
libc_hidden_def(strlen)
diff --git a/libc/string/i386/strncat.c b/libc/string/i386/strncat.c
index 4a6dac31e..c1061421e 100644
--- a/libc/string/i386/strncat.c
+++ b/libc/string/i386/strncat.c
@@ -32,6 +32,7 @@
#include <string.h>
+libc_hidden_proto(strncat)
char *strncat(char * dest,
const char * src, size_t count)
{
@@ -57,5 +58,4 @@ char *strncat(char * dest,
: "memory");
return dest;
}
-libc_hidden_proto(strncat)
libc_hidden_def(strncat)
diff --git a/libc/string/i386/strncmp.c b/libc/string/i386/strncmp.c
index 96b966e30..0c42134e1 100644
--- a/libc/string/i386/strncmp.c
+++ b/libc/string/i386/strncmp.c
@@ -32,6 +32,7 @@
#include <string.h>
+libc_hidden_proto(strncmp)
int strncmp(const char *cs, const char *ct, size_t count)
{
register int __res;
@@ -54,5 +55,4 @@ int strncmp(const char *cs, const char *ct, size_t count)
:"1" (cs),"2" (ct),"3" (count));
return __res;
}
-libc_hidden_proto(strncmp)
libc_hidden_def(strncmp)
diff --git a/libc/string/i386/strncpy.c b/libc/string/i386/strncpy.c
index dde4d3ee1..c061fe37e 100644
--- a/libc/string/i386/strncpy.c
+++ b/libc/string/i386/strncpy.c
@@ -32,6 +32,7 @@
#include <string.h>
+libc_hidden_proto(strncpy)
char *strncpy(char * dest, const char * src, size_t count)
{
int d0, d1, d2, d3;
@@ -52,5 +53,4 @@ char *strncpy(char * dest, const char * src, size_t count)
:"0" (src),"1" (dest),"2" (count) : "memory");
return dest;
}
-libc_hidden_proto(strncpy)
libc_hidden_def(strncpy)
diff --git a/libc/string/i386/strnlen.c b/libc/string/i386/strnlen.c
index 7d9042fa4..6b565dbd8 100644
--- a/libc/string/i386/strnlen.c
+++ b/libc/string/i386/strnlen.c
@@ -33,6 +33,7 @@
#define _GNU_SOURCE
#include <string.h>
+libc_hidden_proto(strnlen)
size_t strnlen(const char *s, size_t count)
{
int d0;
@@ -51,5 +52,4 @@ size_t strnlen(const char *s, size_t count)
:"c" (s),"1" (count));
return __res;
}
-libc_hidden_proto(strnlen)
libc_hidden_def(strnlen)
diff --git a/libc/string/i386/strrchr.c b/libc/string/i386/strrchr.c
index 094f4418e..7af990bd7 100644
--- a/libc/string/i386/strrchr.c
+++ b/libc/string/i386/strrchr.c
@@ -32,6 +32,7 @@
#include <string.h>
+libc_hidden_proto(strrchr)
char *strrchr(const char *s, int c)
{
int d0, d1;
@@ -47,6 +48,5 @@ char *strrchr(const char *s, int c)
:"=g" (__res), "=&S" (d0), "=&a" (d1) :"0" (0),"1" (s),"2" (c));
return __res;
}
-libc_hidden_proto(strrchr)
libc_hidden_def(strrchr)
strong_alias(strrchr,rindex)