git: sys: Add <sys/_clock_id.h> to deduplicate <sys/time.h> and <time.h>

Aaron LI aly at crater.dragonflybsd.org
Thu Apr 3 04:43:07 PDT 2025


commit 94f2575560ffc70b447071ec6300448546019a27
Author: Aaron LI <aly at aaronly.me>
Date:   Thu Mar 27 14:28:10 2025 +0800

    sys: Add <sys/_clock_id.h> to deduplicate <sys/time.h> and <time.h>
    
    See-also: https://reviews.freebsd.org/D31056
    Discussed-with: swildner

Summary of changes:
 include/time.h                           | 31 +----------------
 include/fnmatch.h => sys/sys/_clock_id.h | 58 +++++++++++++++-----------------
 sys/sys/time.h                           | 26 +-------------
 3 files changed, 30 insertions(+), 85 deletions(-)
 copy include/fnmatch.h => sys/sys/_clock_id.h (54%)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/94f2575560ffc70b447071ec6300448546019a27


-- 
DragonFly BSD source repository


More information about the Commits mailing list