diff --git a/libmaxsi/include/stdlib.h b/libmaxsi/include/stdlib.h index 76f1ba19..c06bab69 100644 --- a/libmaxsi/include/stdlib.h +++ b/libmaxsi/include/stdlib.h @@ -55,6 +55,9 @@ void _Exit(int status); void free(void*); char* getenv(const char*); void* malloc(size_t); +#if !defined(_SORTIX_SOURCE) +char* mktemp(char* templ); +#endif void qsort(void*, size_t, size_t, int (*)(const void*, const void*)); int rand(void); void* realloc(void*, size_t); @@ -89,9 +92,6 @@ size_t mbstowcs(wchar_t *restrict, const char* restrict, size_t); int mbtowc(wchar_t *restrict, const char* restrict, size_t); char* mkdtemp(char*); int mkstemp(char*); -#if !defined(_SORTIX_SOURCE) -char* mktemp(char* templ); -#endif long mrand48(void); long nrand48(unsigned short[3]); int posix_memalign(void**, size_t, size_t);