]> git.meshlink.io Git - meshlink/blobdiff - src/graph.h
Avoid allocating packet buffers unnecessarily.
[meshlink] / src / graph.h
index 925fe2ffa7d46652ba85c264beef8513501ad0aa..2375cc6c99724a5d7ae8d9f207bf94d8e79269ad 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 __MESHLINK_GRAPH_H__
-#define __MESHLINK_GRAPH_H__
-
 extern void graph(struct meshlink_handle *mesh);
 
-#endif /* __MESHLINK_GRAPH_H__ */
+#endif