getopt: fix null pointer arithmetic ub
[musl] / src / stdlib / abs.c
1 #include <stdlib.h>
2
3 int abs(int a)
4 {
5         return a>0 ? a : -a;
6 }