RTEMS | Reformat cpukit rtems src (!237)

Gedare Bloom (@gedare) gitlab at rtems.org
Mon Sep 23 23:53:06 UTC 2024




Gedare Bloom commented on a discussion on cpukit/rtems/src/taskconstruct.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/237#note_112457

 >  static User_extensions_Control _RTEMS_tasks_User_extensions = {
 >    .Callouts = {
 >  #if defined( RTEMS_MULTIPROCESSING )
 > -    .thread_terminate = _RTEMS_tasks_Terminate_extension,
 > +               .thread_terminate = _RTEMS_tasks_Terminate_extension,
 >  #endif
 > -    .thread_start   = _RTEMS_tasks_Start_extension,
 > -    .thread_restart = _RTEMS_tasks_Start_extension
 > +               .thread_start   = _RTEMS_tasks_Start_extension,
 > +               .thread_restart = _RTEMS_tasks_Start_extension

I'm not sure if this alignment to the `{` is intentional though. We might be able to change it in `clang-format` if we can convince the maintainers it is buggy.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/237#note_112457
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20240923/79c19179/attachment-0001.htm>


More information about the bugs mailing list