git: move struct timespec into its own header

看板DFBSD_commit作者時間16年前 (2009/10/07 08:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1Ao-67HO (DFBSD_commit)