diff options
author | Darren Tucker <dtucker@zip.com.au> | 2016-08-02 09:44:25 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2016-08-02 09:44:25 +1000 |
commit | c20dccb5614c5714f4155dda01bcdebf97cfae7e (patch) | |
tree | 52a7fb54f19aae274f12f1c9db7eaeb1922137aa /openbsd-compat/bsd-waitpid.c | |
parent | 30f9bd1c0963c23bfba8468dfd26aa17609ba42f (diff) |
Strip trailing whitespace.
Mechanically strip trailing whitespace on files not synced with OpenBSD
(or in the case of bsd-snprint.c, rsync).
Diffstat (limited to 'openbsd-compat/bsd-waitpid.c')
-rw-r--r-- | openbsd-compat/bsd-waitpid.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/openbsd-compat/bsd-waitpid.c b/openbsd-compat/bsd-waitpid.c index 40e6ffaa8..c21fbe911 100644 --- a/openbsd-compat/bsd-waitpid.c +++ b/openbsd-compat/bsd-waitpid.c | |||
@@ -24,7 +24,7 @@ | |||
24 | 24 | ||
25 | #include "includes.h" | 25 | #include "includes.h" |
26 | 26 | ||
27 | #ifndef HAVE_WAITPID | 27 | #ifndef HAVE_WAITPID |
28 | #include <errno.h> | 28 | #include <errno.h> |
29 | #include <sys/wait.h> | 29 | #include <sys/wait.h> |
30 | #include "bsd-waitpid.h" | 30 | #include "bsd-waitpid.h" |
@@ -45,9 +45,9 @@ waitpid(int pid, int *stat_loc, int options) | |||
45 | } | 45 | } |
46 | wait_pid = wait4(pid, &statusp, options, NULL); | 46 | wait_pid = wait4(pid, &statusp, options, NULL); |
47 | if (stat_loc) | 47 | if (stat_loc) |
48 | *stat_loc = (int) statusp.w_status; | 48 | *stat_loc = (int) statusp.w_status; |
49 | 49 | ||
50 | return (wait_pid); | 50 | return (wait_pid); |
51 | } | 51 | } |
52 | 52 | ||
53 | #endif /* !HAVE_WAITPID */ | 53 | #endif /* !HAVE_WAITPID */ |