Addings to stdlib.h must be added to cstdlib too

This commit is contained in:
Gregory Nutt
2015-08-14 12:04:57 -06:00
parent eb19e0c0e2
commit 8f7453b5ec
2 changed files with 21 additions and 6 deletions
+5 -4
View File
@@ -203,6 +203,11 @@ FAR void *calloc(size_t, size_t);
/* Arithmetic */
int abs(int j);
long int labs(long int j);
#ifdef CONFIG_HAVE_LONG_LONG
long long int llabs(long long int j);
#endif
#ifdef CONFIG_CAN_PASS_STRUCTS
div_t div(int numer, int denom);
ldiv_t ldiv(long numer, long denom);
@@ -210,10 +215,6 @@ ldiv_t ldiv(long numer, long denom);
lldiv_t lldiv(long long numer, long long denom);
#endif
#endif
long int labs(long int j);
#ifdef CONFIG_HAVE_LONG_LONG
long long int llabs(long long int j);
#endif
/* Temporary files */