[pisa-src] r2184 - in trunk/libpisa: scheduler.h tunnel.c util.c util.h

  • From: Diego Biurrun <diego@xxxxxxxxxx>
  • To: pisa-src@xxxxxxxxxxxxx
  • Date: Sun, 21 Mar 2010 12:07:23 +0100

Author: biurrun
Date: Sun Mar 21 12:07:22 2010
New Revision: 2184

Log:
Remove unnecessary sysdep.h #include.

Modified:
   trunk/libpisa/scheduler.h
   trunk/libpisa/tunnel.c
   trunk/libpisa/util.c
   trunk/libpisa/util.h

Modified: trunk/libpisa/scheduler.h
==============================================================================
--- trunk/libpisa/scheduler.h   Sun Mar 21 11:53:08 2010        (r2183)
+++ trunk/libpisa/scheduler.h   Sun Mar 21 12:07:22 2010        (r2184)
@@ -18,7 +18,6 @@
 #include <pthread.h>
 
 #include "packet.h"
-#include "sysdep.h"     /* not all systems have timespec :( */
 
 /* this is obvious but helps avoiding typos ;) */
 #define NSEC_PER_SEC    1000000000

Modified: trunk/libpisa/tunnel.c
==============================================================================
--- trunk/libpisa/tunnel.c      Sun Mar 21 11:53:08 2010        (r2183)
+++ trunk/libpisa/tunnel.c      Sun Mar 21 12:07:22 2010        (r2184)
@@ -26,7 +26,6 @@
 #include "debug.h"
 #include "tunnel.h"
 #include "util.h"
-#include "sysdep.h"
 
 /**
  * Configure the newly created tunnel device - at the moment this calls

Modified: trunk/libpisa/util.c
==============================================================================
--- trunk/libpisa/util.c        Sun Mar 21 11:53:08 2010        (r2183)
+++ trunk/libpisa/util.c        Sun Mar 21 12:07:22 2010        (r2184)
@@ -26,7 +26,6 @@
 #include "debug.h"
 #include "global.h"
 #include "util.h"
-#include "sysdep.h"
 
 #define MAX_BUF         2048
 #define MAX_FILENAME    1024

Modified: trunk/libpisa/util.h
==============================================================================
--- trunk/libpisa/util.h        Sun Mar 21 11:53:08 2010        (r2183)
+++ trunk/libpisa/util.h        Sun Mar 21 12:07:22 2010        (r2184)
@@ -19,8 +19,6 @@
 #include <stdbool.h>
 #include <sys/types.h>
 
-#include "sysdep.h"     /* struct timespec */
-
 /**
  * wrapper functions for memory allocation.
  * for malloc(), realloc() and free().

Other related posts:

  • » [pisa-src] r2184 - in trunk/libpisa: scheduler.h tunnel.c util.c util.h - Diego Biurrun