Changeset e638266


Ignore:
Timestamp:
Apr 21, 2021, 6:36:29 AM (6 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
arm-eh, jacob/cs343-translation, master, new-ast-unique-expr
Children:
85d8153, c41c2dbe
Parents:
dabc428
Message:

fix declaration ordering

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/time.hfa

    rdabc428 re638266  
    1010// Created On       : Wed Mar 14 23:18:57 2018
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Tue Apr 20 23:25:58 2021
    13 // Update Count     : 665
     12// Last Modified On : Wed Apr 21 06:32:31 2021
     13// Update Count     : 667
    1414//
    1515
     
    117117static inline {
    118118        void ?{}( timeval & t ) {}
    119         void ?{}( timeval & t, __attribute__((unused)) zero_t ) { t{ 0, 0 }; }
    120119        void ?{}( timeval & t, time_t sec, suseconds_t usec ) { t.tv_sec = sec; t.tv_usec = usec; }
    121120        void ?{}( timeval & t, time_t sec ) { t{ sec, 0 }; }
     121        void ?{}( timeval & t, __attribute__((unused)) zero_t ) { t{ 0, 0 }; }
    122122
    123123        timeval ?=?( timeval & t, __attribute__((unused)) zero_t ) { return t{ 0 }; }
     
    132132static inline {
    133133        void ?{}( timespec & t ) {}
    134         void ?{}( timespec & t, __attribute__((unused)) zero_t ) { t{ 0, 0 }; }
    135134        void ?{}( timespec & t, time_t sec, __syscall_slong_t nsec ) { t.tv_sec = sec; t.tv_nsec = nsec; }
    136135        void ?{}( timespec & t, time_t sec ) { t{ sec, 0}; }
     136        void ?{}( timespec & t, __attribute__((unused)) zero_t ) { t{ 0, 0 }; }
    137137
    138138        timespec ?=?( timespec & t, __attribute__((unused)) zero_t ) { return t{ 0 }; }
Note: See TracChangeset for help on using the changeset viewer.