summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2016-11-03 09:53:53 +0100
committerOndrej Zajicek (work) <santiago@crfreenet.org>2016-11-03 09:53:53 +0100
commit920a86e8493fe25008f084f67f368aea9b197efd (patch)
tree1d4b18ae8193cb6b3deaa7c477e94a390865157e /lib
parente03dc6a984555e3c943735d50376cada2220bac8 (diff)
Add missing extern
Diffstat (limited to 'lib')
-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; }