DragonFly BSD
DragonFly commits List (threaded) for 2009-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: move struct timespec into its own header


From: Simon Schubert <corecode@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 6 Oct 2009 17:24:15 -0700 (PDT)

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



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