summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikhail Gusarov <dottedmag@dottedmag.net>2010-04-14 03:03:21 +0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2010-04-13 20:17:24 -0700
commitd12f1f2dd625f507cf8a504854dad0a9efd86259 (patch)
treecb8f2a5b3c2638ea015427a6829f7493d7f93c25
parent36e3f13a32c8ced264d666f1091db7e1bb523e86 (diff)
killpg(2) is in Unix98
Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--configure.ac2
-rw-r--r--xinit.c4
2 files changed, 0 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac
index cec5d31..0ead99d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -42,8 +42,6 @@ AC_CANONICAL_HOST
AC_TYPE_SIGNAL
-AC_CHECK_FUNCS([killpg])
-
m4_ifdef([AS_HELP_STRING], , [m4_define([AS_HELP_STRING], m4_defn([AC_HELP_STRING]))])
diff --git a/xinit.c b/xinit.c
index 0a37f70..57bb72b 100644
--- a/xinit.c
+++ b/xinit.c
@@ -629,10 +629,6 @@ startClient(char *client[])
}
}
-#ifndef HAVE_KILLPG
-#define killpg(pgrp, sig) kill(-(pgrp), sig)
-#endif
-
static jmp_buf close_env;
static int