move struct timespec into its own header
authorSimon Schubert <simon.schubert@epfl.ch>
Tue, 6 Oct 2009 23:05:56 +0000 (01:05 +0200)
committerSimon Schubert <simon.schubert@epfl.ch>
Wed, 7 Oct 2009 00:24:03 +0000 (02:24 +0200)
commit1d3685c4d60b74df521e7d3020714a26d968e1b2
tree4fb7093fb4081a6efc5f6d23383ed12fc0704619
parent2ef1db473b0f3deafe93c08ed5219440550f6990
move struct timespec into its own header

sys/stat.h needs to define struct timespec without polluting the
namespace with all <time.h> content, so factor out struct timespec into
its own header and use it at the appropriate places.
include/time.h
sys/sys/_timespec.h [new file with mode: 0644]
sys/sys/stat.h
sys/sys/time.h