summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1995-08-17 19:08:36 +0000
committerRoland McGrath <roland@redhat.com>1995-08-17 19:08:36 +0000
commitaf72fc38fe2b6106f83fd6932ac44bdab09e2fe7 (patch)
tree62f6ec0d8d65eddef220b98c9be9d377f15207b8
parent294c429f93556ec1be79f42098dde9c774331fbf (diff)
downloadgunmake-af72fc38fe2b6106f83fd6932ac44bdab09e2fe7.tar.gz
(getdtablesize): Remove decls and macros.
-rw-r--r--job.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/job.c b/job.c
index c27f2a4..eeb5a16 100644
--- a/job.c
+++ b/job.c
@@ -124,23 +124,6 @@ extern int geteuid (), getegid ();
extern int setgid (), getgid ();
#endif
-#ifndef getdtablesize
-#ifdef HAVE_GETDTABLESIZE
-extern int getdtablesize ();
-#else
-#ifdef HAVE_SYSCONF_OPEN_MAX
-#define getdtablesize() ((int) sysconf (_SC_OPEN_MAX))
-#else
-#include <sys/param.h>
-#define getdtablesize() NOFILE
-#if !defined (NOFILE) && defined (NOFILES_MAX)
-/* SCO 3.2 "devsys 4.2" defines NOFILES_{MIN,MAX} in lieu of NOFILE. */
-#define NOFILE NOFILES_MAX
-#endif
-#endif
-#endif
-#endif
-
extern int getloadavg ();
extern int start_remote_job_p ();
extern int start_remote_job (), remote_status ();