git: kernel/libc: Use CTL_SYSCTL_* names instead of magic numbers.

Sascha Wildner swildner at crater.dragonflybsd.org
Sun Oct 13 00:45:58 PDT 2019


commit c29b23626d298d9eb31e7eee62f5e738ee9d2d4d
Author: Sascha Wildner <saw at online.de>
Date:   Sun Oct 13 09:45:43 2019 +0200

    kernel/libc: Use CTL_SYSCTL_* names instead of magic numbers.
    
    These are for internal sysctl operations.
    
    Taken-from: FreeBSD

Summary of changes:
 lib/libc/gen/sysctlnametomib.c |  4 ++--
 sys/kern/kern_sysctl.c         | 33 ++++++++++++++++++++-------------
 sys/sys/sysctl.h               | 14 ++++++++++++--
 3 files changed, 34 insertions(+), 17 deletions(-)

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


-- 
DragonFly BSD source repository


More information about the Commits mailing list