includes: Move *abs() declarations into `stdlib.h`
Change-Id: Id4df2d3210735bee737353d293450e59cf93bd9a Signed-off-by: Nico Huber <nico.huber@secunet.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/55593 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
c538ce12ae
commit
358c84a5a8
|
@ -441,9 +441,6 @@ int exec(long addr, int argc, char **argv);
|
|||
*/
|
||||
int bcd2dec(int b);
|
||||
int dec2bcd(int d);
|
||||
int abs(int j);
|
||||
long int labs(long int j);
|
||||
long long int llabs(long long int j);
|
||||
u8 bin2hex(u8 b);
|
||||
u8 hex2bin(u8 h);
|
||||
void hexdump(const void *memory, size_t length);
|
||||
|
|
|
@ -201,6 +201,15 @@ int rand(void);
|
|||
void srand(unsigned int seed);
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
* @defgroup misc Misc functions
|
||||
* @{
|
||||
*/
|
||||
int abs(int j);
|
||||
long int labs(long int j);
|
||||
long long int llabs(long long int j);
|
||||
/** @} */
|
||||
|
||||
/* Enter remote GDB mode. Will initialize connection if not already up. */
|
||||
void gdb_enter(void);
|
||||
/* Disconnect existing GDB connection if one exists. */
|
||||
|
|
Loading…
Reference in New Issue