Sfoglia il codice sorgente

getdtablesize is not standard; move it to its correct spot in unistd.h

Rich Felker 13 anni fa
parent
commit
431a4cd4df
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      include/unistd.h

+ 1 - 1
include/unistd.h

@@ -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