Gedare Bloom started a new discussion on cpukit/include/rtems/dhrl.h: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1193#note_150611 > +#include <stdint.h> > +#include <rtems/bspIo.h> > + > +#ifdef __cplusplus > +extern "C" { > +#endif > + > +/* Debugging Only */ > +#if defined( RTEMS_DEBUG ) > + #define dhrl_debug_printk( fmt, ... ) \ > + printk( "[DHRL] " fmt, ##__VA_ARGS__ ) > +#else > + #define dhrl_debug_printk( fmt, ... ) \ > + do { \ > + } while ( 0 ) > +#endif I would not put these in the header file, just locate it in the source (if you keep it). -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1193#note_150611 You're receiving this email because of your account on gitlab.rtems.org.
_______________________________________________ bugs mailing list [email protected] http://lists.rtems.org/mailman/listinfo/bugs
