summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-03-14 14:13:30 +0100
committerVolker Lendecke <vl@samba.org>2010-03-14 17:42:49 +0100
commit6c00a3db24808333df734dde15064d01b32dbf45 (patch)
treeb7430904f0aad26efb2479778e3f11ebb85a2b8c
parente00327323ddec6074141a4c5638a12565b6345bd (diff)
downloadsamba-6c00a3db24808333df734dde15064d01b32dbf45.tar.gz
samba-6c00a3db24808333df734dde15064d01b32dbf45.tar.bz2
samba-6c00a3db24808333df734dde15064d01b32dbf45.zip
s3: Remove some unused code
-rw-r--r--source3/include/event.h4
-rw-r--r--source3/lib/events.c20
2 files changed, 0 insertions, 24 deletions
diff --git a/source3/include/event.h b/source3/include/event.h
index 93112a86fa..21c2eb5049 100644
--- a/source3/include/event.h
+++ b/source3/include/event.h
@@ -26,10 +26,6 @@
/* The following definitions come from lib/events.c */
-void event_fd_set_writeable(struct fd_event *fde);
-void event_fd_set_not_writeable(struct fd_event *fde);
-void event_fd_set_readable(struct fd_event *fde);
-void event_fd_set_not_readable(struct fd_event *fde);
bool event_add_to_select_args(struct event_context *event_ctx,
const struct timeval *now,
fd_set *read_fds, fd_set *write_fds,
diff --git a/source3/lib/events.c b/source3/lib/events.c
index 75aa250726..651b25133b 100644
--- a/source3/lib/events.c
+++ b/source3/lib/events.c
@@ -21,26 +21,6 @@
#include "includes.h"
#include <tevent_internal.h>
-void event_fd_set_writeable(struct tevent_fd *fde)
-{
- TEVENT_FD_WRITEABLE(fde);
-}
-
-void event_fd_set_not_writeable(struct tevent_fd *fde)
-{
- TEVENT_FD_NOT_WRITEABLE(fde);
-}
-
-void event_fd_set_readable(struct tevent_fd *fde)
-{
- TEVENT_FD_READABLE(fde);
-}
-
-void event_fd_set_not_readable(struct tevent_fd *fde)
-{
- TEVENT_FD_NOT_READABLE(fde);
-}
-
/*
* Return if there's something in the queue
*/