git: sbin/*hammer: Use typedef'd for struct zone_stat*
Tomohiro Kusumi
tkusumi at crater.dragonflybsd.org
Wed Apr 12 14:50:10 PDT 2017
commit 64321baf5f821f08c7b62569a23e777cb5c40840
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date: Wed Apr 12 21:55:45 2017 +0300
sbin/*hammer: Use typedef'd for struct zone_stat*
This is a part of series of commits started from 21e9e7d5ff in 2016.
This is for userspace.
Some ugliness in const pointer in hammer_print_zone_stat()
(but note that HAMMER originally had bunch of pointer typedefs).
Summary of changes:
sbin/hammer/cmd_blockmap.c | 8 ++++----
sbin/hammer/cmd_show.c | 6 +++---
sbin/hammer/hammer_util.h | 17 ++++++++---------
sbin/hammer/misc.c | 18 +++++++++---------
4 files changed, 24 insertions(+), 25 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/64321baf5f821f08c7b62569a23e777cb5c40840
--
DragonFly BSD source repository
More information about the Commits
mailing list