summaryrefslogtreecommitdiffstats
path: root/c/src/libchip/network/if_fxp.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--c/src/libchip/network/if_fxp.c3
1 files changed, 3 insertions, 0 deletions
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)
{