RTEMS | Reformat cpukit rtems src (!237)

Chris Johns (@chris) gitlab at rtems.org
Tue Sep 24 01:26:45 UTC 2024




Chris Johns started a new discussion on cpukit/rtems/src/timerserver.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/237#note_112488

 >      while ( true ) {
 > -      Watchdog_Control                  *the_watchdog;
 > -      Timer_Control                     *the_timer;
 > -      rtems_timer_service_routine_entry  routine;
 > -      Objects_Id                         id;
 > -      void                              *user_data;
 > -
 > -      the_watchdog = (Watchdog_Control *) _Chain_Get_unprotected( &ts->Pending );
 > +      Watchdog_Control                 *the_watchdog;
 > +      Timer_Control                    *the_timer;
 > +      rtems_timer_service_routine_entry routine;
 > +      Objects_Id                        id;
 > +      void                             *user_data;
 > +
 > +      the_watchdog = (Watchdog_Control *) _Chain_Get_unprotected( &ts->Pending
 > +      );

This split is a bit rough. Only a tool could ever do this which means all changes need the tool to be merged.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/237#note_112488
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/20240924/206c9feb/attachment.htm>


More information about the bugs mailing list