]> git.meshlink.io Git - meshlink/blobdiff - src/netutl.h
Fix all compiler warnings found using -Wall -W -pedantic.
[meshlink] / src / netutl.h
index 065f4b20fcce842446815a7a83006d0a3ab82f49..2f68e8325b35a579efce6c54e578a1e3e0de73ec 100644 (file)
@@ -1,6 +1,9 @@
+#ifndef MESHLINK_NETUTL_H
+#define MESHLINK_NETUTL_H
+
 /*
     netutl.h -- header file for netutl.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_NETUTL_H__
-#define __MESHLINK_NETUTL_H__
-
 #include "net.h"
 
 extern bool hostnames;
@@ -34,4 +34,4 @@ extern void sockaddrunmap(sockaddr_t *);
 extern void sockaddrfree(sockaddr_t *);
 extern void sockaddrcpy(sockaddr_t *, const sockaddr_t *);
 
-#endif /* __MESHLINK_NETUTL_H__ */
+#endif