Changeset 495f836 in rtems


Ignore:
Timestamp:
05/23/22 07:04:12 (6 weeks ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
f91f30f6
Parents:
6553bf4
git-author:
Sebastian Huber <sebastian.huber@…> (05/23/22 07:04:12)
git-committer:
Sebastian Huber <sebastian.huber@…> (05/23/22 07:09:08)
Message:

score: Reformat for code coverage

Close #2349.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/src/kern_ntptime.c

    r6553bf4 r495f836  
    7575#define time_uptime _Timecounter_Time_uptime
    7676struct thread;
    77 static __inline long lmax(long a, long b) { return (a > b ? a : b); }
    78 static __inline quad_t qmin(quad_t a, quad_t b) { return (a < b ? a : b); }
     77
     78static inline long
     79lmax(long a, long b)
     80{
     81
     82        if (a > b)
     83                return (a);
     84        return (b);
     85}
     86
     87static inline quad_t
     88qmin(quad_t a, quad_t b)
     89{
     90
     91        if (a < b)
     92               return (a);
     93        return (b);
     94}
    7995#endif /* __rtems__ */
    8096
Note: See TracChangeset for help on using the changeset viewer.