X-Git-Url: http://git.meshlink.io/?p=meshlink;a=blobdiff_plain;f=src%2Fgraph.h;h=2375cc6c99724a5d7ae8d9f207bf94d8e79269ad;hp=23fae8d20878d38a49c406f8afa43a42adc59e2a;hb=963c5055505f2fc117cd5efa06eaa02c9b2bf85d;hpb=158cbe99f972a1613b7d4d95abfe5fe48e019e67 diff --git a/src/graph.h b/src/graph.h index 23fae8d2..2375cc6c 100644 --- a/src/graph.h +++ b/src/graph.h @@ -1,6 +1,9 @@ +#ifndef MESHLINK_GRAPH_H +#define MESHLINK_GRAPH_H + /* graph.h -- header for graph.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,9 +20,6 @@ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __TINC_GRAPH_H__ -#define __TINC_GRAPH_H__ - -extern void graph(void); +extern void graph(struct meshlink_handle *mesh); -#endif /* __TINC_GRAPH_H__ */ +#endif