aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/include/string.h
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/include/string.h')
-rw-r--r--newlib/libc/include/string.h104
1 files changed, 52 insertions, 52 deletions
diff --git a/newlib/libc/include/string.h b/newlib/libc/include/string.h
index e44ac30..37febad 100644
--- a/newlib/libc/include/string.h
+++ b/newlib/libc/include/string.h
@@ -26,30 +26,30 @@
_BEGIN_STD_C
-void * _EXFUN(memchr,(const void *, int, size_t));
-int _EXFUN(memcmp,(const void *, const void *, size_t));
-void * _EXFUN(memcpy,(void *__restrict, const void *__restrict, size_t));
-void * _EXFUN(memmove,(void *, const void *, size_t));
-void * _EXFUN(memset,(void *, int, size_t));
-char *_EXFUN(strcat,(char *__restrict, const char *__restrict));
-char *_EXFUN(strchr,(const char *, int));
-int _EXFUN(strcmp,(const char *, const char *));
-int _EXFUN(strcoll,(const char *, const char *));
-char *_EXFUN(strcpy,(char *__restrict, const char *__restrict));
-size_t _EXFUN(strcspn,(const char *, const char *));
-char *_EXFUN(strerror,(int));
-size_t _EXFUN(strlen,(const char *));
-char *_EXFUN(strncat,(char *__restrict, const char *__restrict, size_t));
-int _EXFUN(strncmp,(const char *, const char *, size_t));
-char *_EXFUN(strncpy,(char *__restrict, const char *__restrict, size_t));
-char *_EXFUN(strpbrk,(const char *, const char *));
-char *_EXFUN(strrchr,(const char *, int));
-size_t _EXFUN(strspn,(const char *, const char *));
-char *_EXFUN(strstr,(const char *, const char *));
+void * memchr (const void *, int, size_t);
+int memcmp (const void *, const void *, size_t);
+void * memcpy (void *__restrict, const void *__restrict, size_t);
+void * memmove (void *, const void *, size_t);
+void * memset (void *, int, size_t);
+char *strcat (char *__restrict, const char *__restrict);
+char *strchr (const char *, int);
+int strcmp (const char *, const char *);
+int strcoll (const char *, const char *);
+char *strcpy (char *__restrict, const char *__restrict);
+size_t strcspn (const char *, const char *);
+char *strerror (int);
+size_t strlen (const char *);
+char *strncat (char *__restrict, const char *__restrict, size_t);
+int strncmp (const char *, const char *, size_t);
+char *strncpy (char *__restrict, const char *__restrict, size_t);
+char *strpbrk (const char *, const char *);
+char *strrchr (const char *, int);
+size_t strspn (const char *, const char *);
+char *strstr (const char *, const char *);
#ifndef _REENT_ONLY
-char *_EXFUN(strtok,(char *__restrict, const char *__restrict));
+char *strtok (char *__restrict, const char *__restrict);
#endif
-size_t _EXFUN(strxfrm,(char *__restrict, const char *__restrict, size_t));
+size_t strxfrm (char *__restrict, const char *__restrict, size_t);
#if __POSIX_VISIBLE >= 200809
int strcoll_l (const char *, const char *, locale_t);
@@ -57,89 +57,89 @@ char *strerror_l (int, locale_t);
size_t strxfrm_l (char *__restrict, const char *__restrict, size_t, locale_t);
#endif
#if __MISC_VISIBLE || __POSIX_VISIBLE
-char *_EXFUN(strtok_r,(char *__restrict, const char *__restrict, char **__restrict));
+char *strtok_r (char *__restrict, const char *__restrict, char **__restrict);
#endif
#if __BSD_VISIBLE
-int _EXFUN(timingsafe_bcmp,(const void *, const void *, size_t));
-int _EXFUN(timingsafe_memcmp,(const void *, const void *, size_t));
+int timingsafe_bcmp (const void *, const void *, size_t);
+int timingsafe_memcmp (const void *, const void *, size_t);
#endif
#if __MISC_VISIBLE || __POSIX_VISIBLE
-void * _EXFUN(memccpy,(void *__restrict, const void *__restrict, int, size_t));
+void * memccpy (void *__restrict, const void *__restrict, int, size_t);
#endif
#if __GNU_VISIBLE
-void * _EXFUN(mempcpy,(void *, const void *, size_t));
-void * _EXFUN(memmem, (const void *, size_t, const void *, size_t));
-void * _EXFUN(memrchr,(const void *, int, size_t));
-void * _EXFUN(rawmemchr,(const void *, int));
+void * mempcpy (void *, const void *, size_t);
+void * memmem (const void *, size_t, const void *, size_t);
+void * memrchr (const void *, int, size_t);
+void * rawmemchr (const void *, int);
#endif
#if __POSIX_VISIBLE >= 200809
-char *_EXFUN(stpcpy,(char *__restrict, const char *__restrict));
-char *_EXFUN(stpncpy,(char *__restrict, const char *__restrict, size_t));
+char *stpcpy (char *__restrict, const char *__restrict);
+char *stpncpy (char *__restrict, const char *__restrict, size_t);
#endif
#if __GNU_VISIBLE
-char *_EXFUN(strcasestr,(const char *, const char *));
-char *_EXFUN(strchrnul,(const char *, int));
+char *strcasestr (const char *, const char *);
+char *strchrnul (const char *, int);
#endif
#if __MISC_VISIBLE || __POSIX_VISIBLE >= 200809 || __XSI_VISIBLE >= 4
-char *_EXFUN(strdup,(const char *));
+char *strdup (const char *);
#endif
-char *_EXFUN(_strdup_r,(struct _reent *, const char *));
+char *_strdup_r (struct _reent *, const char *);
#if __POSIX_VISIBLE >= 200809
-char *_EXFUN(strndup,(const char *, size_t));
+char *strndup (const char *, size_t);
#endif
-char *_EXFUN(_strndup_r,(struct _reent *, const char *, size_t));
+char *_strndup_r (struct _reent *, const char *, size_t);
/* There are two common strerror_r variants. If you request
_GNU_SOURCE, you get the GNU version; otherwise you get the POSIX
version. POSIX requires that #undef strerror_r will still let you
invoke the underlying function, but that requires gcc support. */
#if __GNU_VISIBLE
-char *_EXFUN(strerror_r,(int, char *, size_t));
+char *strerror_r (int, char *, size_t);
#elif __POSIX_VISIBLE >= 200112
# ifdef __GNUC__
-int _EXFUN(strerror_r,(int, char *, size_t))
+int strerror_r (int, char *, size_t)
#ifdef __ASMNAME
__asm__ (__ASMNAME ("__xpg_strerror_r"))
#endif
;
# else
-int _EXFUN(__xpg_strerror_r,(int, char *, size_t));
+int __xpg_strerror_r (int, char *, size_t);
# define strerror_r __xpg_strerror_r
# endif
#endif
/* Reentrant version of strerror. */
-char * _EXFUN(_strerror_r, (struct _reent *, int, int, int *));
+char * _strerror_r (struct _reent *, int, int, int *);
#if __BSD_VISIBLE
-size_t _EXFUN(strlcat,(char *, const char *, size_t));
-size_t _EXFUN(strlcpy,(char *, const char *, size_t));
+size_t strlcat (char *, const char *, size_t);
+size_t strlcpy (char *, const char *, size_t);
#endif
#if __POSIX_VISIBLE >= 200809
-size_t _EXFUN(strnlen,(const char *, size_t));
+size_t strnlen (const char *, size_t);
#endif
#if __BSD_VISIBLE
-char *_EXFUN(strsep,(char **, const char *));
+char *strsep (char **, const char *);
#endif
#if __BSD_VISIBLE
char *strnstr(const char *, const char *, size_t) __pure;
#endif
#if __MISC_VISIBLE
-char *_EXFUN(strlwr,(char *));
-char *_EXFUN(strupr,(char *));
+char *strlwr (char *);
+char *strupr (char *);
#endif
#ifndef DEFS_H /* Kludge to work around problem compiling in gdb */
-char *_EXFUN(strsignal, (int __signo));
+char *strsignal (int __signo);
#endif
#ifdef __CYGWIN__
-int _EXFUN(strtosigno, (const char *__name));
+int strtosigno (const char *__name);
#endif
#if __GNU_VISIBLE
-int _EXFUN(strverscmp,(const char *, const char *));
+int strverscmp (const char *, const char *);
#endif
#if __GNU_VISIBLE && defined(__GNUC__)
@@ -169,7 +169,7 @@ int _EXFUN(strverscmp,(const char *, const char *));
sure here. */
#if __GNU_VISIBLE && !defined(basename)
# define basename basename
-char *_EXFUN(__nonnull ((1)) basename,(const char *)) __asm__(__ASMNAME("__gnu_basename"));
+char *__nonnull ((1)) basename (const char *) __asm__(__ASMNAME("__gnu_basename"));
#endif
#include <sys/string.h>