LibBSD | Adapt to the new watchdog token and fix a related problem in libbsd (!169)

Christian Mauderer (@c-mauderer) gitlab at rtems.org
Mon Nov 9 16:34:00 UTC 2026




Christian Mauderer commented on a discussion on freebsd/sys/kern/subr_sleepqueue.c: https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/merge_requests/169#note_162149

 >  }
 >  #else /* __rtems__ */
 >  static void
 > -sleepq_timeout(Watchdog_Control *watchdog, unsigned int token __unused)

I had split the commits to make it more clear what the API adaption is and what the additional bug fix is. I can't remove the single line from the first commit because that would cause a warning or an error (not entirely sure).

If you want I can squash the entire commit. Or I can remove the `__unused` and accept the warning in the first commit. What would be the better option in your opinion?

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/merge_requests/169#note_162149
You're receiving this email because of your account on gitlab.rtems.org. Unsubscribe from this thread: https://gitlab.rtems.org/-/namespace/20/sent_notifications/6-di9f8vmqkwddn4xfmizt1gfme-k/unsubscribe | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | Help: https://gitlab.rtems.org/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20261109/765912c6/attachment-0001.htm>


More information about the bugs mailing list