Changeset 77b1de22 in rtems


Ignore:
Timestamp:
Nov 22, 2013, 11:09:44 PM (6 years ago)
Author:
Bryan Dunsmore <dunsmoreb@…>
Branches:
4.11, master
Children:
ad36dc2c
Parents:
4f8ac34
git-author:
Bryan Dunsmore <dunsmoreb@…> (11/22/13 23:09:44)
git-committer:
Joel Sherrill <joel.sherrill@…> (11/29/13 23:24:41)
Message:

gettimeofday: Add restrict keyword

Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libcsupport/src/__gettod.c

    r4f8ac34 r77b1de22  
    3939 */
    4040int gettimeofday(
    41   struct timeval  *tp,
    42   void * __tz __attribute__((unused))
     41  struct timeval *__restrict tp,
     42  void *__restrict __tz __attribute__((unused))
    4343)
    4444{
  • cpukit/libmisc/uuid/gen_uuid.c

    r4f8ac34 r77b1de22  
    128128
    129129#ifdef _WIN32
    130 static void gettimeofday (struct timeval *tv, void *dummy)
     130static void gettimeofday (struct timeval *__restrict tv, void *__restrict dummy)
    131131{
    132132        FILETIME        ftime;
Note: See TracChangeset for help on using the changeset viewer.