git: <sys/resource.h>: Clean up visibility of defines, and other fixes.

Sascha Wildner swildner at crater.dragonflybsd.org
Wed Jan 1 11:24:04 PST 2020


commit eb57f7fd4890145149fb763066cd07d9d4fc6931
Author: Sascha Wildner <saw at online.de>
Date:   Wed Jan 1 20:24:00 2020 +0100

    <sys/resource.h>: Clean up visibility of defines, and other fixes.
    
    * Sprinkle some __BSD_VISIBLE checks around various non-POSIX defines.
    
    * Remove the no longer needed orlimit struct.
    
    * In <sys/types.h>, put a __BSD_VISIBLE check around the rlim_t
      definition, because POSIX does not require it in <sys/types.h>.
    
    Thanks to zrj for testing with a dports bulk build and fixing the two
    packages that were wrongly requesting a restricted compilation
    environment.

Summary of changes:
 sys/sys/resource.h | 17 +++++++++--------
 sys/sys/types.h    |  2 --
 2 files changed, 9 insertions(+), 10 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/eb57f7fd4890145149fb763066cd07d9d4fc6931


-- 
DragonFly BSD source repository


More information about the Commits mailing list