git: libdmsg: Forward declare struct iovec for public prototypes.

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


commit 4eb0aa06f1694d43f17453d3818aa3e1f15c4522
Author: zrj <rimvydas.jasinskas at gmail.com>
Date:   Fri Oct 18 09:45:09 2019 +0300

    libdmsg: Forward declare struct iovec for public prototypes.
    
     This removes the need to include <sys/socket.h> or <sys/uio.h> to use
     the <dmsg.h>.  The dmsg_crypto_encrypt() and dmsg_crypto_decrypt() are
     used locally, maybe worth to internalize.
    
     While there, remove not needed <sys/uio.h> inclusion from hammer2(8).

Summary of changes:
 lib/libdmsg/dmsg.h     | 2 ++
 sbin/hammer2/hammer2.h | 1 -
 2 files changed, 2 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4eb0aa06f1694d43f17453d3818aa3e1f15c4522


-- 
DragonFly BSD source repository



More information about the Commits mailing list