libc.obj: headers update (now used true functions with attributes instead of pointers)
git-svn-id: svn://kolibrios.org@9810 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
@@ -3,38 +3,38 @@
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
extern void* _FUNC(memccpy)(void* restrict dest, const void* restrict src, int c, size_t n);
|
||||
DLLAPI void* memccpy(void* restrict dest, const void* restrict src, int c, size_t n);
|
||||
|
||||
#ifdef __TINYC__
|
||||
extern void* memcpy(void* s1, const void* s2, size_t n);
|
||||
extern void* memset(void* s, int c, size_t n);
|
||||
extern void* memmove(void* s1, const void* s2, size_t n);
|
||||
#else
|
||||
extern void* _FUNC(memcpy)(void* s1, const void* s2, size_t n);
|
||||
extern void* _FUNC(memset)(void* s, int c, size_t n);
|
||||
extern void* _FUNC(memmove)(void* s1, const void* s2, size_t n);
|
||||
DLLAPI void* memcpy(void* s1, const void* s2, size_t n);
|
||||
DLLAPI void* memset(void* s, int c, size_t n);
|
||||
DLLAPI void* memmove(void* s1, const void* s2, size_t n);
|
||||
#endif
|
||||
|
||||
extern char* _FUNC(strcpy)(char* s1, const char* s2);
|
||||
extern char* _FUNC(strncpy)(char* s1, const char* s2, size_t n);
|
||||
extern char* _FUNC(strcat)(char* s1, const char* s2);
|
||||
extern char* _FUNC(strncat)(char* s1, const char* s2, size_t n);
|
||||
extern int _FUNC(memcmp)(const void* s1, const void* s2, size_t n);
|
||||
extern int _FUNC(strcmp)(const char* s1, const char* s2);
|
||||
extern int _FUNC(strcoll)(const char* s1, const char* s2);
|
||||
extern int _FUNC(strncmp)(const char* s1, const char* s2, size_t n);
|
||||
extern size_t _FUNC(strxfrm)(char* s1, const char* s2, size_t n);
|
||||
extern void* _FUNC(memchr)(const void* s, int c, size_t n);
|
||||
extern char* _FUNC(strchr)(const char* s, int c);
|
||||
extern size_t _FUNC(strcspn)(const char* s1, const char* s2);
|
||||
extern char* _FUNC(strpbrk)(const char* s1, const char* s2);
|
||||
extern char* _FUNC(strrchr)(const char* s, int c);
|
||||
extern size_t _FUNC(strspn)(const char* s1, const char* s2);
|
||||
extern char* _FUNC(strstr)(const char* s1, const char* s2);
|
||||
extern char* _FUNC(strtok)(char* s1, const char* s2);
|
||||
extern char* _FUNC(strerror)(int errnum);
|
||||
extern size_t _FUNC(strlen)(const char* s);
|
||||
extern char* _FUNC(strrev)(char* str);
|
||||
extern char* _FUNC(strdup)(const char* str);
|
||||
DLLAPI char* strcpy(char* s1, const char* s2);
|
||||
DLLAPI char* strncpy(char* s1, const char* s2, size_t n);
|
||||
DLLAPI char* strcat(char* s1, const char* s2);
|
||||
DLLAPI char* strncat(char* s1, const char* s2, size_t n);
|
||||
DLLAPI int memcmp(const void* s1, const void* s2, size_t n);
|
||||
DLLAPI int strcmp(const char* s1, const char* s2);
|
||||
DLLAPI int strcoll(const char* s1, const char* s2);
|
||||
DLLAPI int strncmp(const char* s1, const char* s2, size_t n);
|
||||
DLLAPI size_t strxfrm(char* s1, const char* s2, size_t n);
|
||||
DLLAPI void* memchr(const void* s, int c, size_t n);
|
||||
DLLAPI char* strchr(const char* s, int c);
|
||||
DLLAPI size_t strcspn(const char* s1, const char* s2);
|
||||
DLLAPI char* strpbrk(const char* s1, const char* s2);
|
||||
DLLAPI char* strrchr(const char* s, int c);
|
||||
DLLAPI size_t strspn(const char* s1, const char* s2);
|
||||
DLLAPI char* strstr(const char* s1, const char* s2);
|
||||
DLLAPI char* strtok(char* s1, const char* s2);
|
||||
DLLAPI char* strerror(int errnum);
|
||||
DLLAPI size_t strlen(const char* s);
|
||||
DLLAPI char* strrev(char* str);
|
||||
DLLAPI char* strdup(const char* str);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user