warp-vpn

point to point VPN implementation
git clone git://git.2f30.org/warp-vpn
Log | Files | Refs | README

commit 9c0bf8b3a3f98553a4a889204d6273cf2e9deb01
parent fc3c9fccae860306734588b874c597b2ac7655fe
Author: sin <sin@2f30.org>
Date:   Wed, 13 Apr 2016 12:27:51 +0100

rework includes

Diffstat:
Mclient.c | 1-
Mcrypto.c | 1-
Mdev_bsd.c | 1-
Mdev_linux.c | 1-
Mlog.c | 1-
Mstun.c | 1-
Mstun.h | 3+++
Mtunnel.c | 2--
8 files changed, 3 insertions(+), 8 deletions(-)

diff --git a/client.c b/client.c @@ -6,7 +6,6 @@ #include <arpa/inet.h> #include <netdb.h> -#include <stdint.h> #include <string.h> #include <unistd.h> diff --git a/crypto.c b/crypto.c @@ -1,4 +1,3 @@ -#include <stdint.h> #include <string.h> #include <openssl/evp.h> diff --git a/dev_bsd.c b/dev_bsd.c @@ -12,7 +12,6 @@ #include <netinet/in.h> #include <fcntl.h> -#include <stdint.h> #include <unistd.h> #include "stun.h" diff --git a/dev_linux.c b/dev_linux.c @@ -6,7 +6,6 @@ #include <linux/if_tun.h> #include <fcntl.h> -#include <stdint.h> #include <string.h> #include <unistd.h> diff --git a/log.c b/log.c @@ -1,5 +1,4 @@ #include <stdarg.h> -#include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <syslog.h> diff --git a/stun.c b/stun.c @@ -45,7 +45,6 @@ #include <signal.h> #include <stdio.h> -#include <stdint.h> #include <stdlib.h> #include <string.h> #include <unistd.h> diff --git a/stun.h b/stun.h @@ -1,3 +1,6 @@ +#include <stddef.h> +#include <stdint.h> + #define NOPRIVUSER "nobody" #define AUTHTIMEO 250 /* in milliseconds */ #define RECONNECTTIMEO 60 /* in seconds */ diff --git a/tunnel.c b/tunnel.c @@ -1,6 +1,4 @@ #include <poll.h> -#include <stdint.h> -#include <stdio.h> #include "stun.h"