]> git.meshlink.io Git - meshlink/blobdiff - src/prf.h
Avoid allocating packet buffers unnecessarily.
[meshlink] / src / prf.h
index 67d6845fc868fd3d982a2a3618da12063d561225..1fc0ee199c4df63291708897cd330c410e9a33f8 100644 (file)
--- a/src/prf.h
+++ b/src/prf.h
@@ -1,6 +1,9 @@
+#ifndef MESHLINK_PRF_H
+#define MESHLINK_PRF_H
+
 /*
     prf.h -- header file for prf.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_PRF_H__
-#define __MESHLINK_PRF_H__
-
 extern bool prf(const char *secret, size_t secretlen, char *seed, size_t seedlen, char *out, size_t outlen) __attribute__((__warn_unused_result__));
 
 #endif