[rtems commit] elnk.c: rtems_elnk_driver_attach() prototype added
Joel Sherrill
joel at rtems.org
Thu Apr 20 23:50:53 UTC 2017
Module: rtems
Branch: master
Commit: 9f55bfb575d4dcb080104523ad6da9a5f4890ab0
Changeset: http://git.rtems.org/rtems/commit/?id=9f55bfb575d4dcb080104523ad6da9a5f4890ab0
Author: Joel Sherrill <joel at rtems.org>
Date: Thu Apr 20 20:49:07 2017 -0500
elnk.c: rtems_elnk_driver_attach() prototype added
---
c/src/libchip/network/elnk.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/c/src/libchip/network/elnk.c b/c/src/libchip/network/elnk.c
index 5fd3649..e556b15 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
*/
More information about the vc
mailing list