From: Michael Poole Date: Tue, 21 Sep 2004 19:18:50 +0000 (+0000) Subject: Remove unused types and variables from s_bsd.h so I don't have to document them. X-Git-Url: http://git.pk910.de/?a=commitdiff_plain;h=1c8b006f9c6bc517f96d244273b7ffa2ce1e1d6a;p=ircu2.10.12-pk.git Remove unused types and variables from s_bsd.h so I don't have to document them. git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1163 c9e4aea6-c8fd-4c43-8297-357d70d61c8c --- diff --git a/include/s_bsd.h b/include/s_bsd.h index db8bd30..fbef2bf 100644 --- a/include/s_bsd.h +++ b/include/s_bsd.h @@ -48,33 +48,10 @@ extern const char* const SETBUFS_ERROR_MSG; extern const char* const TOS_ERROR_MSG; extern const char* const REGISTER_ERROR_MSG; - extern int HighestFd; extern struct Client* LocalClientArray[MAXCONNECTIONS]; -extern int OpenFileDescriptorCount; - extern struct irc_sockaddr VirtualHost; -enum PollType { - PT_NONE, - PT_READ, - PT_WRITE -}; - -struct Pollable; - -typedef int (*PollReadyFn)(struct Pollable*); - -struct Pollable { - struct Pollable* next; - struct Pollable* prev; - int fd; - int index; - int state; - PollReadyFn r_handler; - PollReadyFn w_handler; -}; - /* * Proto types */