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:
@@ -41,31 +41,31 @@ static inline lldiv_t lldiv(long long num, long long den)
|
||||
return (lldiv_t) { num / den, num % den };
|
||||
}
|
||||
|
||||
extern void* _FUNC(malloc)(size_t size);
|
||||
extern void* _FUNC(calloc)(size_t num, size_t size);
|
||||
extern void* _FUNC(realloc)(void* ptr, size_t newsize);
|
||||
extern void _FUNC(free)(void* ptr);
|
||||
DLLAPI void* malloc(size_t size);
|
||||
DLLAPI void* calloc(size_t num, size_t size);
|
||||
DLLAPI void* realloc(void* ptr, size_t newsize);
|
||||
DLLAPI void free(void* ptr);
|
||||
|
||||
extern long int _FUNC(strtol)(const char* str, char** endptr, int base);
|
||||
DLLAPI long int strtol(const char* str, char** endptr, int base);
|
||||
|
||||
extern void _FUNC(exit)(int status);
|
||||
DLLAPI void exit(int status);
|
||||
|
||||
extern void _FUNC(srand)(unsigned s);
|
||||
extern int _FUNC(rand)(void);
|
||||
DLLAPI void srand(unsigned s);
|
||||
DLLAPI int rand(void);
|
||||
|
||||
extern void _FUNC(__assert_fail)(const char* expr, const char* file, int line, const char* func);
|
||||
extern void _FUNC(qsort)(void* base0, size_t n, size_t size, int (*compar)(const void*, const void*));
|
||||
DLLAPI void __assert_fail(const char* expr, const char* file, int line, const char* func);
|
||||
DLLAPI void qsort(void* base0, size_t n, size_t size, int (*compar)(const void*, const void*));
|
||||
|
||||
extern double _FUNC(strtod)(const char* s, char** sret);
|
||||
extern double _FUNC(atof)(const char* ascii);
|
||||
DLLAPI double strtod(const char* s, char** sret);
|
||||
DLLAPI double atof(const char* ascii);
|
||||
|
||||
extern int _FUNC(atoi)(const char* s);
|
||||
extern long _FUNC(atol)(const char*);
|
||||
extern long long _FUNC(atoll)(const char*);
|
||||
extern void _FUNC(itoa)(int n, char* s);
|
||||
DLLAPI int atoi(const char* s);
|
||||
DLLAPI long atol(const char*);
|
||||
DLLAPI long long atoll(const char*);
|
||||
DLLAPI void itoa(int n, char* s);
|
||||
|
||||
extern int _FUNC(abs)(int);
|
||||
extern long _FUNC(labs)(long);
|
||||
extern long long _FUNC(llabs)(long long);
|
||||
DLLAPI int abs(int);
|
||||
DLLAPI long labs(long);
|
||||
DLLAPI long long llabs(long long);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user