getopt: fix null pointer arithmetic ub
[musl] / src / math / finitef.c
1 #define _GNU_SOURCE
2 #include <math.h>
3
4 int finitef(float x)
5 {
6         return isfinite(x);
7 }