From 431a4cd4df25dd9cc9fd699c59036f896aef1003 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Sun, 22 Apr 2012 14:39:07 -0400 Subject: [PATCH] getdtablesize is not standard; move it to its correct spot in unistd.h --- include/unistd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/unistd.h b/include/unistd.h index 307f665c..17f024fd 100644 --- a/include/unistd.h +++ b/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 -- 2.25.1