X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fuml_socket%2Fdevice.c;h=18fae95a4aef57498bcd33960da26be0af8f628e;hp=f634411b5c87c5fb592d7c519538d13eba9ba0c8;hb=df3220a1549f992cbf4a9b6e67c1e67b69896c7d;hpb=c44f69a30243a94ab93bd15915dbfa71db698bde;ds=sidebyside diff --git a/src/uml_socket/device.c b/src/uml_socket/device.c index f634411b..18fae95a 100644 --- a/src/uml_socket/device.c +++ b/src/uml_socket/device.c @@ -1,7 +1,7 @@ /* device.c -- UML network socket - Copyright (C) 2002-2004 Ivo Timmermans , - 2002-2004 Guus Sliepen + Copyright (C) 2002-2005 Ivo Timmermans , + 2002-2005 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -30,8 +30,6 @@ #include "utils.h" #include "route.h" -#include "system.h" - int device_fd = -1; static int listen_fd = -1; static int request_fd = -1; @@ -45,8 +43,8 @@ char *device_info; extern char *identname; extern bool running; -int device_total_in = 0; -int device_total_out = 0; +static int device_total_in = 0; +static int device_total_out = 0; enum request_type { REQ_NEW_CONTROL };