Rev 9811 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 9811 | Rev 9812 | ||
---|---|---|---|
Line 39... | Line 39... | ||
39 | static inline lldiv_t lldiv(long long num, long long den) |
39 | static inline lldiv_t lldiv(long long num, long long den) |
40 | { |
40 | { |
41 | return (lldiv_t) { num / den, num % den }; |
41 | return (lldiv_t) { num / den, num % den }; |
42 | } |
42 | } |
Line 43... | Line 43... | ||
43 | 43 | ||
44 | extern void* _FUNC(malloc)(size_t size); |
44 | DLLAPI void* malloc(size_t size); |
45 | extern void* _FUNC(calloc)(size_t num, size_t size); |
45 | DLLAPI void* calloc(size_t num, size_t size); |
46 | extern void* _FUNC(realloc)(void* ptr, size_t newsize); |
46 | DLLAPI void* realloc(void* ptr, size_t newsize); |
Line 47... | Line 47... | ||
47 | extern void _FUNC(free)(void* ptr); |
47 | DLLAPI void free(void* ptr); |
Line 48... | Line 48... | ||
48 | 48 | ||
Line 49... | Line 49... | ||
49 | extern long int _FUNC(strtol)(const char* str, char** endptr, int base); |
49 | DLLAPI long int strtol(const char* str, char** endptr, int base); |
50 | 50 | ||
Line 51... | Line 51... | ||
51 | extern void _FUNC(exit)(int status); |
51 | DLLAPI void exit(int status); |
52 | 52 | ||
Line 53... | Line 53... | ||
53 | extern void _FUNC(srand)(unsigned s); |
53 | DLLAPI void srand(unsigned s); |
54 | extern int _FUNC(rand)(void); |
54 | DLLAPI int rand(void); |
Line 55... | Line 55... | ||
55 | 55 | ||
56 | extern void _FUNC(__assert_fail)(const char* expr, const char* file, int line, const char* func); |
56 | DLLAPI void __assert_fail(const char* expr, const char* file, int line, const char* func); |
57 | extern void _FUNC(qsort)(void* base0, size_t n, size_t size, int (*compar)(const void*, const void*)); |
57 | DLLAPI void qsort(void* base0, size_t n, size_t size, int (*compar)(const void*, const void*)); |
58 | 58 | ||
Line 59... | Line 59... | ||
59 | extern double _FUNC(strtod)(const char* s, char** sret); |
59 | DLLAPI double strtod(const char* s, char** sret); |
60 | extern double _FUNC(atof)(const char* ascii); |
60 | DLLAPI double atof(const char* ascii); |
61 | 61 | ||
Line 62... | Line 62... | ||
62 | extern int _FUNC(atoi)(const char* s); |
62 | DLLAPI int atoi(const char* s); |