Remove unused types and variables from s_bsd.h so I don't have to document them.
authorMichael Poole <mdpoole@troilus.org>
Tue, 21 Sep 2004 19:18:50 +0000 (19:18 +0000)
committerMichael Poole <mdpoole@troilus.org>
Tue, 21 Sep 2004 19:18:50 +0000 (19:18 +0000)
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1163 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

include/s_bsd.h

index db8bd3062843b9601df2cf1f5d6d60332d234a12..fbef2bf38f7712b67fb7b02c78015127c1ef6c9e 100644 (file)
@@ -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
  */