Mon, 15 Feb 2010 06:26:34 +0500
buffer_event.c, event_buffer.c, luaevent.c: Remove redundant #includes.
src/buffer_event.c | file | annotate | diff | comparison | revisions | |
src/event_buffer.c | file | annotate | diff | comparison | revisions | |
src/luaevent.c | file | annotate | diff | comparison | revisions |
--- a/src/buffer_event.c Mon Feb 15 06:25:25 2010 +0500 +++ b/src/buffer_event.c Mon Feb 15 06:26:34 2010 +0500 @@ -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>
--- a/src/event_buffer.c Mon Feb 15 06:25:25 2010 +0500 +++ b/src/event_buffer.c Mon Feb 15 06:26:34 2010 +0500 @@ -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>
--- a/src/luaevent.c Mon Feb 15 06:25:25 2010 +0500 +++ b/src/luaevent.c Mon Feb 15 06:26:34 2010 +0500 @@ -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); }