]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Add missing extern
authorOndrej Zajicek (work) <santiago@crfreenet.org>
Thu, 3 Nov 2016 08:53:53 +0000 (09:53 +0100)
committerOndrej Zajicek (work) <santiago@crfreenet.org>
Thu, 3 Nov 2016 08:53:53 +0000 (09:53 +0100)
lib/mac.h

index 5fc216fd7b2dc238bce4abe70f4809f9b0ee31d2..b6f3af5229c274bac247f01b539b1a857b9e2326 100644 (file)
--- 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; }