Remove abs() and labs() definitions

Confict with <stdlib.h>.
This commit is contained in:
Sebastian Huber 2013-10-24 10:36:52 +02:00
parent 99378e229f
commit 40f2158a15
2 changed files with 2 additions and 2 deletions

View File

@ -70,8 +70,10 @@ static __inline u_long ulmin(u_long a, u_long b) { return (a < b ? a : b); }
static __inline off_t omax(off_t a, off_t b) { return (a > b ? a : b); }
static __inline off_t omin(off_t a, off_t b) { return (a < b ? a : b); }
#ifndef __rtems__
static __inline int abs(int a) { return (a < 0 ? -a : a); }
static __inline long labs(long a) { return (a < 0 ? -a : a); }
#endif /* __rtems__ */
static __inline quad_t qabs(quad_t a) { return (a < 0 ? -a : a); }
/* Prototypes for non-quad routines. */

View File

@ -99,8 +99,6 @@
#define realloc _bsd_realloc
#define reallocf _bsd_reallocf
#define setenv _bsd_setenv
#define abs _bsd_abs
#define labs _bsd_labs
/* Debug */