[RTEMS Project] #4035: Reserved identifier "time" re-used in rtems_clock_get_tod_timeval()

RTEMS trac trac at rtems.org
Sat Aug 1 08:45:40 UTC 2020


#4035: Reserved identifier "time" re-used in rtems_clock_get_tod_timeval()
-------------------------------+---------------------
 Reporter:  Jens Schweikhardt  |       Owner:  (none)
     Type:  enhancement        |      Status:  new
 Priority:  normal             |   Milestone:
Component:  rtems              |     Version:  5
 Severity:  minor              |  Resolution:
 Keywords:                     |  Blocked By:
 Blocking:                     |
-------------------------------+---------------------

Comment (by Jens Schweikhardt):

 I've attached a patch renaming time to the_time, also in doxygen comments.
 I'm new to git and followed the instructions for patch creation but ran
 into a wall with git format-patch (no output anywhere I could find). So I
 used git diff. The commit message could be

 > Rename the reserved identifier "time" to "the_time" to not invade ISO C
 name space.

--
Ticket URL: <http://devel.rtems.org/ticket/4035#comment:3>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list