]> diplodocus.org Git - nmh/commit
uip/mhcachesbr.c: Move exported symbols to existing h/mhcachesbr.h.
authorRalph Corderoy <ralph@inputplus.co.uk>
Mon, 15 May 2017 15:09:28 +0000 (16:09 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Mon, 15 May 2017 15:09:28 +0000 (16:09 +0100)
commita8d183948d18b1fba94a305072bfd3c15f93da03
treea7a40b3b29ca6b100921aa567fd29741aadfda88
parenta30ef3465250ae21bb3928a6e120ba4351cf8ff0
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.
h/mhcachesbr.h
uip/mhbuild.c
uip/mhbuildsbr.c
uip/mhcachesbr.c
uip/mhlist.c
uip/mhn.c
uip/mhparse.c
uip/mhshow.c
uip/mhstore.c