X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Froute.h;h=92e9fe03af3d8de40be0283ccb256b0275f391bb;hb=93dfd8a6689a3f176d460bd757a466b61b29181d;hp=ea3a7760e1613411fc02ab1f7192597f0dcd56e1;hpb=9415f4b08fb2ca9ae933edd0bf8b096db195ebae;p=meshlink diff --git a/src/route.h b/src/route.h index ea3a7760..92e9fe03 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 *); +void route(struct meshlink_handle *mesh, struct node_t *, struct vpn_packet_t *); -#endif /* __MESHLINK_ROUTE_H__ */ +#endif