buffer_event.h, event_buffer.h, event_callback.h: Remove sys/time.h, and other redundant #includes.

Mon, 15 Feb 2010 06:25:25 +0500

author
Waqas Hussain <waqas20@gmail.com>
date
Mon, 15 Feb 2010 06:25:25 +0500
changeset 77
ad37f03df138
parent 76
0ad46f11657a
child 78
4782f315942f

buffer_event.h, event_buffer.h, event_callback.h: Remove sys/time.h, and other redundant #includes.

include/buffer_event.h file | annotate | diff | comparison | revisions
include/event_buffer.h file | annotate | diff | comparison | revisions
include/event_callback.h file | annotate | diff | comparison | revisions
--- a/include/buffer_event.h	Mon Feb 15 06:24:06 2010 +0500
+++ b/include/buffer_event.h	Mon Feb 15 06:25:25 2010 +0500
@@ -4,10 +4,6 @@
 #define BUFFER_EVENT_H
  
 #include "luaevent.h"
-#include <lua.h>
-#include <sys/types.h>
-#include <sys/time.h>
-#include <event.h>
 
 typedef struct {
 	struct bufferevent* ev;
--- a/include/event_buffer.h	Mon Feb 15 06:24:06 2010 +0500
+++ b/include/event_buffer.h	Mon Feb 15 06:25:25 2010 +0500
@@ -4,10 +4,6 @@
 #define EVENT_BUFFER_H
 
 #include "luaevent.h"
-#include <lua.h>
-#include <sys/types.h>
-#include <sys/time.h>
-#include <event.h>
 
 typedef struct {
 	struct evbuffer* buffer;
--- a/include/event_callback.h	Mon Feb 15 06:24:06 2010 +0500
+++ b/include/event_callback.h	Mon Feb 15 06:25:25 2010 +0500
@@ -4,10 +4,6 @@
 #define EVENT_CALLBACK
 
 #include "luaevent.h"
-#include <lua.h>
-#include <sys/types.h>
-#include <sys/time.h>
-#include <event.h>
 
 typedef struct {
 	struct event ev;

mercurial