git: Don't include the full <sys/signal.h> in headers that just need sigset_t.

Sascha Wildner swildner at crater.dragonflybsd.org
Wed May 22 23:41:58 PDT 2019


commit 3f7c286b39c9a686b7b0b9ac465171b911355807
Author: Sascha Wildner <saw at online.de>
Date:   Thu May 23 08:41:49 2019 +0200

    Don't include the full <sys/signal.h> in headers that just need sigset_t.
    
    Namely, <select.h> and <spawn.h>.
    
    Split it out into a separate header, <sys/_sigset_t.h> and include that
    in <spawn.h> and <sys/select.h>.
    
    This cleans up these two headers' name space considerably.
    
    Thanks to zrj for testing with a dports bulk build.

Summary of changes:
 include/spawn.h                                    |  7 ++++++-
 .../smbus/atmel_mxt/atmel_mxt.h => sys/_sigset.h}  | 16 +++++++++++-----
 sys/sys/select.h                                   | 22 ++++++++++------------
 sys/sys/signal.h                                   | 11 +++++------
 4 files changed, 32 insertions(+), 24 deletions(-)
 copy sys/{dev/smbus/atmel_mxt/atmel_mxt.h => sys/_sigset.h} (87%)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3f7c286b39c9a686b7b0b9ac465171b911355807


-- 
DragonFly BSD source repository


More information about the Commits mailing list