From 84776524e0122aa3fbf3b59d2e4697ed381bf171 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 20 Apr 2017 20:44:49 -0500 Subject: if_fxp.c: Add prototype of rtems_fxp_attach() --- c/src/libchip/network/if_fxp.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'c/src/libchip/network/if_fxp.c') diff --git a/c/src/libchip/network/if_fxp.c b/c/src/libchip/network/if_fxp.c index 82ae423a93..51ed64c81a 100644 --- a/c/src/libchip/network/if_fxp.c +++ b/c/src/libchip/network/if_fxp.c @@ -408,6 +408,9 @@ static __inline unsigned int fxp_pci_get_revid(struct fxp_softc *sc) { return revid; } +/* Prototype to avoid warning. This must be a global symbol. */ +int rtems_fxp_attach(struct rtems_bsdnet_ifconfig *config, int attaching); + int rtems_fxp_attach(struct rtems_bsdnet_ifconfig *config, int attaching) { -- cgit v1.2.3