diff options
author | Joel Sherrill <joel@rtems.org> | 2017-04-20 20:44:49 -0500 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2017-04-20 20:44:49 -0500 |
commit | 84776524e0122aa3fbf3b59d2e4697ed381bf171 (patch) | |
tree | 8ce7f816fb9ef06316038b7ce11baa5acd71444c /c | |
parent | if_fxp.c: Remove unused variable (diff) | |
download | rtems-84776524e0122aa3fbf3b59d2e4697ed381bf171.tar.bz2 |
if_fxp.c: Add prototype of rtems_fxp_attach()
Diffstat (limited to '')
-rw-r--r-- | c/src/libchip/network/if_fxp.c | 3 |
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) { |