X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fcipher.h;h=966a864041feb67366cd563e730fd09437d4afed;hb=28b7a53b6;hp=1224210c558390bef008b8d193c6c84e6a6aac5c;hpb=0912276c6467aa3ee6f570b31245367319da572a;p=tinc diff --git a/src/cipher.h b/src/cipher.h index 1224210c..966a8640 100644 --- a/src/cipher.h +++ b/src/cipher.h @@ -3,7 +3,7 @@ /* cipher.h -- header file cipher.c - Copyright (C) 2007-2016 Guus Sliepen + Copyright (C) 2007-2022 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 @@ -38,7 +38,7 @@ typedef struct cipher cipher_t; -extern cipher_t *cipher_alloc() __attribute__((__malloc__)); +extern cipher_t *cipher_alloc(void) __attribute__((__malloc__)); extern void cipher_free(cipher_t **cipher); extern bool cipher_open_by_name(cipher_t *cipher, const char *name); extern bool cipher_open_by_nid(cipher_t *cipher, int nid);