浏览代码

add useless type fd_mask. it's in the reserved namespace.

Rich Felker 14 年之前
父节点
当前提交
33a3f202d1
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      include/sys/select.h

+ 2 - 0
include/sys/select.h

@@ -15,6 +15,8 @@ extern "C" {
 
 #define FD_SETSIZE 1024
 
+typedef unsigned long fd_mask;
+
 typedef struct
 {
 	unsigned long fds_bits[FD_SETSIZE / 8 / sizeof(long)];