X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Fprf.h;h=1fc0ee199c4df63291708897cd330c410e9a33f8;hb=4c57e6902219ecca1872e18e34365d8e54a0f407;hp=879b69c743673fa31f09aa5467e6bf04235111f3;hpb=a86faaf34711d6b0f278b670d70a229a3cf0d479;p=meshlink diff --git a/src/prf.h b/src/prf.h index 879b69c7..1fc0ee19 100644 --- 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) 2011-2013 Guus Sliepen + Copyright (C) 2014, 2017 Guus Sliepen 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_PRF_H__ -#define __TINC_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__)); +extern bool prf(const char *secret, size_t secretlen, char *seed, size_t seedlen, char *out, size_t outlen) __attribute__((__warn_unused_result__)); #endif