]> git.meshlink.io Git - meshlink/blobdiff - src/graph.h
Don't use assert() to check the results of pthread_*() calls.
[meshlink] / src / graph.h
index 16cae13402daa3f6c796d712bdde888405d859a4..17757327b7f1234ed402b73a050834a109093f24 100644 (file)
@@ -1,7 +1,9 @@
+#ifndef MESHLINK_GRAPH_H
+#define MESHLINK_GRAPH_H
+
 /*
     graph.h -- header for graph.c
-    Copyright (C) 2001-2012 Guus Sliepen <guus@meshlink.io>,
-                  2001-2005 Ivo Timmermans
+    Copyright (C) 2014, 2017 Guus Sliepen <guus@meshlink.io>
 
     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
@@ -18,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);
+void graph(struct meshlink_handle *mesh);
 
-#endif /* __TINC_GRAPH_H__ */
+#endif