source: trunk/sys/dietlibc/abs.c @ 410

Last change on this file since 410 was 1, checked in by alain, 8 years ago

First import

File size: 155 bytes
RevLine 
[1]1#include <endian.h>
2#include <stdlib.h>
3
4int abs(int i) { return i>=0?i:-i; }
5#if __WORDSIZE == 32
6long labs(long i) __attribute__((alias("abs")));
7#endif
Note: See TracBrowser for help on using the repository browser.