git: sys/vfs/hammer: Drop typedefs for struct hammer_ioc_{hist_entry, mrecord_head}

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Mon Apr 17 13:16:04 PDT 2017


commit 4362c066783a48e550dca1fd1c562a65052e752e
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Mon Apr 17 21:48:22 2017 +0300

    sys/vfs/hammer: Drop typedefs for struct hammer_ioc_{hist_entry,mrecord_head}
    
    These are the only two ioctl structs with pointer typedefs. All the
    rest of ioctl structs aren't typedef'd, and there isn't really any
    reason that these two need to be typedef'd.
    
    Note that almost all non ioctl HAMMER structs have pointer typedef,
    and majority of variables have been typedef'd ones from the beginning
    (since they were mostly pointers). Rest were changed to use typedef'd
    at some point in 2016, to avoid mix of these for no reason, though
    typedef'd pointers have ugliness when used as const.

Summary of changes:
 sbin/hammer/cmd_mirror.c      | 8 ++++----
 sys/vfs/hammer/hammer_crc.h   | 6 +++---
 sys/vfs/hammer/hammer_ioctl.h | 8 ++++----
 usr.bin/undo/undo.c           | 4 ++--
 4 files changed, 13 insertions(+), 13 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4362c066783a48e550dca1fd1c562a65052e752e


-- 
DragonFly BSD source repository


More information about the Commits mailing list