看板 DFBSD_commit 關於我們 聯絡資訊
commit 1d3685c4d60b74df521e7d3020714a26d968e1b2 Author: Simon Schubert <simon.schubert@epfl.ch> Date: Wed Oct 7 01:05:56 2009 +0200 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. Summary of changes: include/time.h | 9 ++------- sbin/nologin/nologin.c => sys/sys/_timespec.h | 20 ++++++++++---------- sys/sys/stat.h | 2 ++ sys/sys/time.h | 9 +-------- 4 files changed, 15 insertions(+), 25 deletions(-) copy sbin/nologin/nologin.c => sys/sys/_timespec.h (86%) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1d3685c4d60b74df521e7d3020714a26d968e1b2 -- DragonFly BSD source repository