[ovs-dev] [PATCH 1/6] smap: bsd: Fix compilation error.

Ben Pfaff blp at ovn.org
Thu Mar 10 22:39:24 UTC 2016


On Wed, Mar 09, 2016 at 04:40:40PM -0800, Pravin B Shelar wrote:
> I saw following error while testing this series.
> ---8<---
> In file included from lib/smap.c:16:
> ./lib/smap.h:75:56: warning: declaration of 'struct in6_addr' will not be visible outside of this function [-Wvisibility]
> void smap_add_ipv6(struct smap *, const char *, struct in6_addr *);
>                                                        ^
> lib/smap.c:102:1: error: conflicting types for 'smap_add_ipv6'
> smap_add_ipv6(struct smap *smap, const char *key, struct in6_addr *addr)
> ^
> ./lib/smap.h:75:6: note: previous declaration is here
> void smap_add_ipv6(struct smap *, const char *, struct in6_addr *);
> 
> Signed-off-by: Pravin B Shelar <pshelar at ovn.org>

Acked-by: Ben Pfaff <blp at ovn.org>



More information about the dev mailing list