summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2022-01-12 22:51:45 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2022-01-12 22:51:45 +0000
commit0b75a44b13ac85e9764fec3b80d480022d02d41d (patch)
tree9fd6d6076ae8fcb4bcb5129c338bea5e4d6c15e8
parentbc0ac9ccfe6d7bca14fccdca8e095471b58e7997 (diff)
zap spaces before tabs
-rw-r--r--usr.bin/timeout/timeout.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/usr.bin/timeout/timeout.c b/usr.bin/timeout/timeout.c
index 1eef765490b..057b396950d 100644
--- a/usr.bin/timeout/timeout.c
+++ b/usr.bin/timeout/timeout.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: timeout.c,v 1.19 2021/09/04 11:49:11 schwarze Exp $ */
+/* $OpenBSD: timeout.c,v 1.20 2022/01/12 22:51:44 tb Exp $ */
/*
* Copyright (c) 2021 Job Snijders <job@openbsd.org>
@@ -64,8 +64,8 @@ usage(void)
static double
parse_duration(const char *duration)
{
- double ret;
- char *suffix;
+ double ret;
+ char *suffix;
ret = strtod(duration, &suffix);
if (ret == 0 && suffix == duration)
@@ -164,17 +164,17 @@ int
main(int argc, char **argv)
{
int ch;
- unsigned long i;
- int foreground = 0, preserve = 0;
- int pstat, status;
- int killsig = SIGTERM;
- pid_t pgid = 0, pid, cpid = 0;
- double first_kill;
- double second_kill = 0;
- bool timedout = false;
- bool do_second_kill = false;
- struct sigaction signals;
- int signums[] = {-1, SIGTERM, SIGINT, SIGHUP, SIGCHLD,
+ unsigned long i;
+ int foreground = 0, preserve = 0;
+ int pstat, status;
+ int killsig = SIGTERM;
+ pid_t pgid = 0, pid, cpid = 0;
+ double first_kill;
+ double second_kill = 0;
+ bool timedout = false;
+ bool do_second_kill = false;
+ struct sigaction signals;
+ int signums[] = {-1, SIGTERM, SIGINT, SIGHUP, SIGCHLD,
SIGALRM, SIGQUIT};
const struct option longopts[] = {