[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
tinc/src/linux device.c,1.1.2.17,1.1.2.18
Update of /home/CVS/tinc/src/linux
In directory humbolt:/tmp/cvs-serv5751/src/linux
Modified Files:
Tag: CABAL
device.c
Log Message:
Big header file cleanup: everything that has to do with standard system
libraries is moved to system.h.
Index: device.c
===================================================================
RCS file: /home/CVS/tinc/src/linux/device.c,v
retrieving revision 1.1.2.17
retrieving revision 1.1.2.18
diff -u -r1.1.2.17 -r1.1.2.18
--- device.c 2003/07/12 17:41:48 1.1.2.17
+++ device.c 2003/07/17 15:06:27 1.1.2.18
@@ -20,17 +20,7 @@
$Id$
*/
-#include "config.h"
-
-#include <stdio.h>
-#include <errno.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <fcntl.h>
-#include <net/if.h>
-#include <unistd.h>
-#include <string.h>
-#include <sys/ioctl.h>
+#include "system.h"
#ifdef HAVE_TUNTAP
#ifdef LINUX_IF_TUN_H
@@ -43,13 +33,11 @@
#define DEFAULT_DEVICE "/dev/tap0"
#endif
-#include <utils.h>
#include "conf.h"
+#include "logger.h"
#include "net.h"
#include "route.h"
-#include "logger.h"
-
-#include "system.h"
+#include "utils.h"
enum {
DEVICE_TYPE_ETHERTAP,
--
Tinc-cvs: CVS changelog list for the tinc VPN daemon
Archive: http://mail.nl.linux.org/tinc-cvs/
Tinc site: http://tinc.nl.linux.org/
- Prev by Date:
tinc/src device.h,1.1.2.8,1.1.2.9
- Next by Date:
tinc configure.in,1.13.2.66,1.13.2.67 system.h,1.1.4.5,1.1.4.6
- Prev by thread:
tinc/src device.h,1.1.2.8,1.1.2.9
- Next by thread:
tinc configure.in,1.13.2.66,1.13.2.67 system.h,1.1.4.5,1.1.4.6
- Index(es):