Changeset 2b6d00f in rtems


Ignore:
Timestamp:
Aug 13, 2015, 2:43:25 PM (5 years ago)
Author:
Ian Lepore <ian@…>
Branches:
master
Children:
f013c14
Parents:
f1463c8
git-author:
Ian Lepore <ian@…> (08/13/15 14:43:25)
git-committer:
Sebastian Huber <sebastian.huber@…> (10/12/17 05:04:10)
Message:

timecounter: Merge FreeBSD change r304285

Constify the pointers to eventtimer and timecounter name strings.

The need for this appears as soon as you try to set the names to something
that isn't a "quoted literal". (I'm actually confused why quoted strings
aren't a problem as well, we must have some warning disabled.)

Update #3175.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/include/sys/timetc.h

    rf1463c8 r2b6d00f  
    5252        uint64_t                tc_frequency;
    5353                /* Frequency of the counter in Hz. */
    54         char                    *tc_name;
     54        const char              *tc_name;
    5555                /* Name of the timecounter. */
    5656        int                     tc_quality;
Note: See TracChangeset for help on using the changeset viewer.