Conflicting types for 'rtems_3c509_driver_attach'

Saeed Ehteshamifar salpha.2004 at gmail.com
Wed Sep 7 19:46:02 UTC 2016


Hello,

In the networkconfig-qemu.h file of network demos
<https://git.rtems.org/network-demos/>, the attach function for 3c509
device is defined as:
extern int rtems_3c509_driver_attach (struct rtems_bsdnet_ifconfig *, int);

However in the source tree, it's defined as:
./c/src/lib/libbsp/i386/pc386/3c509/3c509.c:670:int
rtems_3c509_driver_attach (struct rtems_bsdnet_ifconfig *config )

This leads to a compile error for network-demos out-of-the-box. Any
comments, reviews on this?

Best Regards,
Saeed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20160907/38967cd0/attachment.html>


More information about the devel mailing list