git: <sys/malloc.h>: Reduce kmalloc() implicit requirements for NULL.

Rimvydas Jasinskas zrj at crater.dragonflybsd.org
Fri Nov 1 08:43:36 PDT 2019


commit 3281ddceab96af00b7bc229696b36c939b118750
Author: zrj <rimvydas.jasinskas at gmail.com>
Date:   Fri Oct 25 12:57:33 2019 +0300

    <sys/malloc.h>: Reduce kmalloc() implicit requirements for NULL.
    
     Make sure it is available for ease of use.  This potentially allows to
     not to add <sys/param.h> in kernel sources just for NULL when kmalloc()
     is used in source code.

Summary of changes:
 sys/sys/malloc.h | 3 +++
 1 file changed, 3 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3281ddceab96af00b7bc229696b36c939b118750


-- 
DragonFly BSD source repository



More information about the Commits mailing list