if_fxp.c: Add prototype of rtems_fxp_attach()

This commit is contained in:
Joel Sherrill
2017-04-20 20:44:49 -05:00
parent 169d6f6e55
commit 84776524e0

View File

@@ -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)
{