0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 09:41:54 +00:00

Add missing extern

This commit is contained in:
Ondrej Zajicek (work) 2016-11-03 09:53:53 +01:00
parent e03dc6a984
commit 920a86e849

View File

@ -89,7 +89,7 @@ struct mac_desc {
byte *(*hash_final)(struct hash_context *ctx); 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) static inline const char *mac_type_name(uint id)
{ return mac_table[id].name; } { return mac_table[id].name; }