xcore / sc_ethernet

10/100 MII Ethernet MAC for XMOS microcontrollers
http://xcore.github.com/sc_ethernet/index.html
Other
37 stars 29 forks source link

Make use of inline C99 compliant #32

Closed rlsosborne closed 12 years ago

rlsosborne commented 12 years ago

Currently if the compiler decides not to inline one of the functions declared inline without static or extern you will get a link error. This changes declarations in headers to either use static inline or have external definitions in other files.

I've tested that this builds with 11.11.0 and 11.2.2, although I haven't tried running it.