]> 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 e1bae59787014cb3838a58cb4b85f6311bbaf933..17757327b7f1234ed402b73a050834a109093f24 100644 (file)
@@ -1,6 +1,9 @@
+#ifndef MESHLINK_GRAPH_H
+#define MESHLINK_GRAPH_H
+
 /*
     graph.h -- header for graph.c
-    Copyright (C) 2014 Guus Sliepen <guus@meshlink.io>
+    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
@@ -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(struct meshlink_handle *mesh);
+void graph(struct meshlink_handle *mesh);
 
-#endif /* __TINC_GRAPH_H__ */
+#endif