DragonFly kernel List (threaded) for 2008-04
DragonFly BSD
DragonFly kernel List (threaded) for 2008-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Testing monotonic clock


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Mon, 7 Apr 2008 14:36:17 -0700 (PDT)

:What scares me is that sys/time.h includes time.h :).
:
:>     It looks like time.h only needs sys/types.h in order to get time_t.
:>     time_t's real declaration is __time_t from <machine/types.h>
:>     (which in turn comes from cpu/*/include/stdint.h).  Whew, what a
:>     mouthful.
:
:Well. This alone doesn't solve the problem because including just time.h 
:alone from application doesn't work anyway, because:
:
:/usr/include/time.h:135: error: expected '=', ',', ';', 'asm' 
:or '__attribute__' before 'strftime'
:
:-- 
:Hasso Tepper

    I'm crying :-(

    I'm sure you will come up with a solution, even if it kills you.  My
    one consolation is that I am putting it on your shoulders to solve :-)

					-Matt
					Matthew Dillon 
					<dillon@backplane.com>



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]