Simplify signal handling.
[tinc] / src / crypto.h
index c9abddd..4c7d23b 100644 (file)
@@ -1,6 +1,8 @@
 #ifndef TINC_CRYPTO_H
 #define TINC_CRYPTO_H
 
+#include "system.h"
+
 /*
     crypto.h -- header for crypto.c
     Copyright (C) 2007-2013 Guus Sliepen <guus@tinc-vpn.org>
@@ -20,8 +22,8 @@
     51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 */
 
-extern void crypto_init();
-extern void crypto_exit();
-extern void randomize(void *, size_t);
+extern void crypto_init(void);
+extern void crypto_exit(void);
+extern void randomize(void *buf, size_t buflen);
 
 #endif