diff options
Diffstat (limited to 'src/include/stdlib.h')
-rw-r--r-- | src/include/stdlib.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/stdlib.h b/src/include/stdlib.h index bca85a2..2951522 100644 --- a/src/include/stdlib.h +++ b/src/include/stdlib.h @@ -93,6 +93,10 @@ static inline void srand ( unsigned int seed ) { **************************************************************************** */ +static inline __attribute__ (( always_inline )) int abs ( int value ) { + return __builtin_abs ( value ); +} + extern int system ( const char *command ); extern __asmcall int main ( void ); |