Commit 4826d0fe authored by Aurelio Colosimo's avatar Aurelio Colosimo

arch-spec/include/arch/arch.h: defined abs as a trivial macro

parent a687c30c
......@@ -9,4 +9,5 @@
#define ntohs htons
#define ntohl htonl
#define abs(x) ((x >= 0) ? x : -x)
#endif /* __ARCH_H__ */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment