RTEMS | Reformat cpukit rtems src (!237)

Amar Takhar (@amar) gitlab at rtems.org
Tue Sep 24 01:39:20 UTC 2024




Amar Takhar commented on a discussion on cpukit/rtems/src/timerserver.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/237#note_112491

 >      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 doesn't seem much different from the original is that what you mean?  I agree that matching this by hand would be difficult.  We have the ability to turn the formatter on and off for code blocks if it becomes a problem of never ending chases.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/237#note_112491
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/578c0194/attachment-0001.htm>


More information about the bugs mailing list