X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fdigest.h;h=dba6ee4402ca60bec351c4b7abedc387d433833d;hb=28b7a53b6;hp=9fb12483d4ca3cae664fd49d781964b36da7e754;hpb=0912276c6467aa3ee6f570b31245367319da572a;p=tinc diff --git a/src/digest.h b/src/digest.h index 9fb12483..dba6ee44 100644 --- a/src/digest.h +++ b/src/digest.h @@ -3,7 +3,7 @@ /* digest.h -- header file digest.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 @@ -39,7 +39,7 @@ typedef struct digest digest_t; extern bool digest_open_by_name(digest_t *digest, const char *name, size_t maclength); extern bool digest_open_by_nid(digest_t *digest, int nid, size_t maclength); -extern digest_t *digest_alloc() __attribute__((__malloc__)); +extern digest_t *digest_alloc(void) __attribute__((__malloc__)); extern void digest_free(digest_t **digest); extern void digest_close(digest_t *digest); extern bool digest_create(digest_t *digest, const void *indata, size_t inlen, void *outdata) __attribute__((__warn_unused_result__));