mirror of
https://salsa.debian.org/srivasta/make-dfsg.git
synced 2024-12-26 14:00:56 +00:00
(getdtablesize): Remove decls and macros.
This commit is contained in:
parent
294c429f93
commit
af72fc38fe
1 changed files with 0 additions and 17 deletions
17
job.c
17
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 ();
|
||||
|
|
Loading…
Reference in a new issue