diff --git a/usr.bin/timeout/timeout.c b/usr.bin/timeout/timeout.c index b40594eead8a..817160003e36 100644 --- a/usr.bin/timeout/timeout.c +++ b/usr.bin/timeout/timeout.c @@ -28,6 +28,9 @@ #include __FBSDID("$FreeBSD$"); +#include +#include + #include #include #include @@ -36,8 +39,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include -#include #include #include @@ -90,7 +91,7 @@ parse_duration(const char *duration) default: errx(EX_USAGE, "invalid duration"); } - + if (ret < 0 || ret >= 100000000UL) errx(EX_USAGE, "invalid duration"); @@ -114,7 +115,7 @@ parse_signal(const char *str) if (strcasecmp(str, sys_signame[i]) == 0) return (i); } - + errx(EX_USAGE, "invalid signal"); }