sqc 0.4.13

Software Code Quality - CERT C compliance checker
1
2
3
4
5
6
7
8
/*
 * Rule: PRE31-C
 * Source: wiki
 * Status: PASS - Should NOT trigger PRE31-C violation
 */

#define ABS(x) __extension__ ({ __typeof (x) tmp = x; \
                    tmp < 0 ? -tmp : tmp; })