git: kernel: Fix spurious M_IOV declarations.

Rimvydas Jasinskas zrj at crater.dragonflybsd.org
Thu Oct 24 04:59:32 PDT 2019


commit e58ce66305be92846f41f00dcb98085b98a32af8
Author: zrj <rimvydas.jasinskas at gmail.com>
Date:   Fri Oct 18 12:19:44 2019 +0300

    kernel: Fix spurious M_IOV declarations.
    
     Do not include <sys/malloc.h> unconditionally in <sys/uio.h> as it only
     hides issues in other headers and source codes.
     * Include <sys/malloc.h> before <sys/uio.h> in sys_generic.c for M_IOV.

Summary of changes:
 sys/kern/sys_generic.c | 2 +-
 sys/sys/uio.h          | 9 +++++----
 2 files changed, 6 insertions(+), 5 deletions(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list