From 920a86e8493fe25008f084f67f368aea9b197efd Mon Sep 17 00:00:00 2001 From: "Ondrej Zajicek (work)" Date: Thu, 3 Nov 2016 09:53:53 +0100 Subject: Add missing extern --- lib/mac.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mac.h b/lib/mac.h index 5fc216fd..b6f3af52 100644 --- a/lib/mac.h +++ b/lib/mac.h @@ -89,7 +89,7 @@ struct mac_desc { byte *(*hash_final)(struct hash_context *ctx); }; -const struct mac_desc mac_table[ALG_MAX]; +extern const struct mac_desc mac_table[ALG_MAX]; static inline const char *mac_type_name(uint id) { return mac_table[id].name; } -- cgit v1.2.3