aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2010-02-15 06:26:34 +0500
committerWaqas Hussain <waqas20@gmail.com>2010-02-15 06:26:34 +0500
commit59333212814d8de493295e2a19b046bed81d9a09 (patch)
tree54db5e746e66bc4a2de9c86cf7120d0fae8fb497
parentd4bc8bd087c740ff5b9b1cbd38e0f2b24ff74263 (diff)
downloadluaevent-prosody-59333212814d8de493295e2a19b046bed81d9a09.tar.gz
luaevent-prosody-59333212814d8de493295e2a19b046bed81d9a09.zip
buffer_event.c, event_buffer.c, luaevent.c: Remove redundant #includes.
-rw-r--r--src/buffer_event.c1
-rw-r--r--src/event_buffer.c1
-rw-r--r--src/luaevent.c6
3 files changed, 0 insertions, 8 deletions
diff --git a/src/buffer_event.c b/src/buffer_event.c
index 0b956cf..deb1963 100644
--- a/src/buffer_event.c
+++ b/src/buffer_event.c
@@ -1,7 +1,6 @@
/* LuaEvent - Copyright (C) 2007 Thomas Harning <harningt@gmail.com>
* Licensed as LGPL - See doc/COPYING for details */
#include "buffer_event.h"
-#include "luaevent.h"
#include "utility.h"
#include <lauxlib.h>
#include <malloc.h>
diff --git a/src/event_buffer.c b/src/event_buffer.c
index 62dc0e3..23e28c4 100644
--- a/src/event_buffer.c
+++ b/src/event_buffer.c
@@ -2,7 +2,6 @@
* Licensed as LGPL - See doc/COPYING for details */
#include "event_buffer.h"
-#include "luaevent.h"
#include <lauxlib.h>
#include <malloc.h>
diff --git a/src/luaevent.c b/src/luaevent.c
index 19fb7d6..06b84c5 100644
--- a/src/luaevent.c
+++ b/src/luaevent.c
@@ -1,21 +1,15 @@
/* LuaEvent - Copyright (C) 2007 Thomas Harning <harningt@gmail.com>
* Licensed as LGPL - See doc/COPYING for details */
-#include "luaevent.h"
#include "event_callback.h"
#include "event_buffer.h"
#include "buffer_event.h"
-#include <lua.h>
#include <lauxlib.h>
#include <assert.h>
#define EVENT_BASE_MT "EVENT_BASE_MT"
-#ifdef _WIN32
-#include <winsock2.h>
-#endif
-
le_base* event_base_get(lua_State* L, int idx) {
return (le_base*)luaL_checkudata(L, idx, EVENT_BASE_MT);
}