(getdtablesize): Remove decls and macros.

This commit is contained in:
Roland McGrath 1995-08-17 19:08:36 +00:00
parent 294c429f93
commit af72fc38fe

17
job.c
View file

@ -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 ();