From: Ralph Corderoy Date: Mon, 15 May 2017 15:09:28 +0000 (+0100) Subject: uip/mhcachesbr.c: Move exported symbols to existing h/mhcachesbr.h. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/a8d183948d18b1fba94a305072bfd3c15f93da03?ds=inline;hp=a8d183948d18b1fba94a305072bfd3c15f93da03 uip/mhcachesbr.c: Move exported symbols to existing h/mhcachesbr.h. Remove the user's copies of the declarations. A static struct swit caches[] was declared everywhere that included h/mhcachesbr.h. The larger number of includers causes `variable not used' for `caches'. Move that declaration to uip/mhcachesbr.c and have an exported `cache_policy' symbol that points to it for the existing users. ---