summaryrefslogtreecommitdiff
path: root/lib/mac.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mac.h')
-rw-r--r--lib/mac.h2
1 files changed, 1 insertions, 1 deletions
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; }