mirror of
https://github.com/apache/nuttx.git
synced 2026-05-23 06:39:01 +08:00
Addings to stdlib.h must be added to cstdlib too
This commit is contained in:
+5
-4
@@ -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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user