From af72fc38fe2b6106f83fd6932ac44bdab09e2fe7 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 17 Aug 1995 19:08:36 +0000 Subject: (getdtablesize): Remove decls and macros. --- job.c | 17 ----------------- 1 file changed, 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 -#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 (); -- cgit v1.2.3