RTEMS | Reformat cpukit rtems src (!237)

Amar Takhar (@amar) gitlab at rtems.org
Mon Sep 23 23:37:04 UTC 2024




Amar Takhar started a new discussion on cpukit/rtems/src/rtemsobjectgetapiclassname.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/237#note_112443

 > -  { "Period",                  OBJECTS_RTEMS_PERIODS, 0},
 > -  { "Extension",               OBJECTS_RTEMS_EXTENSIONS, 0},
 > -  { "Barrier",                 OBJECTS_RTEMS_BARRIERS, 0},
 > -  { NULL,                      0, 0}
 > +  { "Task", OBJECTS_RTEMS_TASKS, 0 },
 > +  { "Timer", OBJECTS_RTEMS_TIMERS, 0 },
 > +  { "Semaphore", OBJECTS_RTEMS_SEMAPHORES, 0 },
 > +  { "Message Queue", OBJECTS_RTEMS_MESSAGE_QUEUES, 0 },
 > +  { "Partition", OBJECTS_RTEMS_PARTITIONS, 0 },
 > +  { "Region", OBJECTS_RTEMS_REGIONS, 0 },
 > +  { "Port", OBJECTS_RTEMS_PORTS, 0 },
 > +  { "Period", OBJECTS_RTEMS_PERIODS, 0 },
 > +  { "Extension", OBJECTS_RTEMS_EXTENSIONS, 0 },
 > +  { "Barrier", OBJECTS_RTEMS_BARRIERS, 0 },
 > +  { NULL, 0, 0 }
 >  };

Not sure what I think about the loss of alignment here.  Aligning makes it much easier to see when something is out of place.  Is this something that could be preserved or better yet, make them all aligned?  Would like to hear the opinion of others.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/237#note_112443
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/5cc156ed/attachment.htm>


More information about the bugs mailing list