summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2017-04-20 20:49:07 -0500
committerJoel Sherrill <joel@rtems.org>2017-04-20 20:49:07 -0500
commit9f55bfb575d4dcb080104523ad6da9a5f4890ab0 (patch)
tree6014988b99840599c3819b29e1ece916a3802fd7
parent814bd02584acc8aca9071c453247c713338e1c83 (diff)
downloadrtems-9f55bfb575d4dcb080104523ad6da9a5f4890ab0.tar.bz2
elnk.c: rtems_elnk_driver_attach() prototype added
-rw-r--r--c/src/libchip/network/elnk.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/c/src/libchip/network/elnk.c b/c/src/libchip/network/elnk.c
index 5fd364911e..e556b15609 100644
--- a/c/src/libchip/network/elnk.c
+++ b/c/src/libchip/network/elnk.c
@@ -3100,6 +3100,9 @@ struct el_boards
int pbus,pdev,pfun, vid, did, tindex;
};
+/* Prototype to avoid warning. This must be a global symbol. */
+int rtems_elnk_driver_attach(struct rtems_bsdnet_ifconfig *config, int attach);
+
/*
* Attach an ELNK driver to the system
*/