From c0ee2095b99a004604c404a03f579c43d52edec2 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Fri, 28 May 2004 20:26:08 +0000 Subject: [PATCH] Remove select() compat bits since we no longer use select(). --- compat.h | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/compat.h b/compat.h index 25818a3ad..ce5c48c6d 100644 --- a/compat.h +++ b/compat.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 1996, 1998-2003 Todd C. Miller + * Copyright (c) 1996, 1998-2004 Todd C. Miller * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -50,13 +50,6 @@ # define MAXHOSTNAMELEN 64 #endif -/* - * 4.2BSD lacks FD_* macros (we only need FD_SET) - */ -#ifndef FD_SET -# define FD_SET(fd, fds) ((fds) -> fds_bits[0] |= (1 << (fd))) -#endif /* !FD_SET */ - /* * Posix versions for those without... */ @@ -86,17 +79,6 @@ # define S_IRWXU 0000700 /* rwx for owner */ #endif /* S_IRWXU */ -/* - * In case these are not defined in or - */ -#ifndef howmany -# define howmany(x, y) (((x) + ((y) - 1)) / (y)) -#endif -#ifndef NFDBITS -# define NFDBITS 32 -# define fd_mask int -#endif - /* * These should be defined in but not everyone has them. */ -- 2.40.0