X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Froute.h;h=284fc69a6733bffbda0d0b101f642c466dc3310b;hb=be83b0af60449c7b35d17d97f2e6dc12f611e831;hp=ea3a7760e1613411fc02ab1f7192597f0dcd56e1;hpb=9415f4b08fb2ca9ae933edd0bf8b096db195ebae;p=meshlink diff --git a/src/route.h b/src/route.h index ea3a7760..284fc69a 100644 --- a/src/route.h +++ b/src/route.h @@ -1,6 +1,9 @@ +#ifndef MESHLINK_ROUTE_H +#define MESHLINK_ROUTE_H + /* route.h -- header file for route.c - Copyright (C) 2014 Guus Sliepen + Copyright (C) 2014, 2017 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 @@ -17,14 +20,9 @@ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __MESHLINK_ROUTE_H__ -#define __MESHLINK_ROUTE_H__ - #include "net.h" #include "node.h" -extern bool decrement_ttl; - extern void route(struct meshlink_handle *mesh, struct node_t *, struct vpn_packet_t *); -#endif /* __MESHLINK_ROUTE_H__ */ +#endif