#ifndef __DIETLIBC_CSTDLIB_INCLUDED #define __DIETLIBC_CSTDLIB_INCLUDED #include namespace std { using ::div_t; //using ::abort; using ::abs; using ::atexit; using ::atof; using ::atoi; using ::atol; using ::bsearch; using ::div; //using ::exit; #ifndef __NO_LIBC #ifndef VALGRIND using ::calloc; using ::free; using ::malloc; using ::realloc; #endif using ::getenv; using ::strtol; using ::strtoul; #endif using ::labs; using ::qsort; #ifndef __NO_LIBC using ::rand; using ::srand; #endif using ::strtod; using ::system; } #endif