summaryrefslogtreecommitdiff
path: root/libc/signal/killpg.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/signal/killpg.c')
-rw-r--r--libc/signal/killpg.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/libc/signal/killpg.c b/libc/signal/killpg.c
index 6272a46d3..e75cfc483 100644
--- a/libc/signal/killpg.c
+++ b/libc/signal/killpg.c
@@ -23,14 +23,13 @@
/* Send SIG to all processes in process group PGRP.
If PGRP is zero, send SIG to all processes in
the current process's process group. */
-int
-killpg ( __pid_t pgrp, int sig)
+int killpg ( __pid_t pgrp, int sig)
{
- if (pgrp < 0)
+ if (pgrp < 0)
{
- __set_errno (EINVAL);
- return -1;
+ __set_errno (EINVAL);
+ return -1;
}
- return kill (- pgrp, sig);
+ return kill (- pgrp, sig);
}