getdtablesize is not standard; move it to its correct spot in unistd.h
authorRich Felker <dalias@aerifal.cx>
Sun, 22 Apr 2012 18:39:07 +0000 (14:39 -0400)
committerRich Felker <dalias@aerifal.cx>
Sun, 22 Apr 2012 18:39:07 +0000 (14:39 -0400)
include/unistd.h

index 307f665..17f024f 100644 (file)
@@ -141,7 +141,6 @@ void swab(const void *, void *, ssize_t);
 long gethostid(void);
 int nice(int);
 void sync(void);
-int getdtablesize(void);
 #endif
 
 #ifdef _GNU_SOURCE
@@ -163,6 +162,7 @@ int getresgid(gid_t *, gid_t *, gid_t *);
 char *get_current_dir_name(void);
 int daemon(int, int);
 int getdomainname(char *, size_t);
+int getdtablesize(void);
 #endif
 
 #define _XOPEN_VERSION          700