style: Reformatage de la fonction ABS
This commit is contained in:
parent
1027401800
commit
ebc947f06d
14
lib/math.c
14
lib/math.c
|
@ -1,7 +1,7 @@
|
||||||
#include "types.h"
|
#include "types.h"
|
||||||
|
|
||||||
u32 abs(int x)
|
u32 abs(int x)
|
||||||
{
|
{
|
||||||
if (x<0) x=-x;
|
if (x<0) x=-x;
|
||||||
return (u32)x;
|
return (u32)x;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue