[PATCH 4/6] Port am335x usb driver to RTEMS.

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Jul 12 06:48:43 UTC 2017


On 11/07/17 12:53, Sichen Zhao wrote:

> +#ifndef __rtems__
>   #include <sys/timeet.h>
> +#endif /* __rtems__ */

https://github.com/RTEMS/rtems-libbsd/blob/master/CONTRIBUTING.md

"In general, provide empty header files and do not guard includes."

Each #if __rtems__ makes it harder to stay in synchronization with 
FreeBSD. Its not a problem to import unmodified FreeBSD header files to 
get rid of a guarded include.

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.




More information about the devel mailing list