git: sbin/mount_hammer: Remove typedef ary_ptr_t
Tomohiro Kusumi
tkusumi at crater.dragonflybsd.org
Thu Sep 24 07:46:34 PDT 2015
commit f1e2cdee09be44f6dc9aa3684ada8aeb97e5ddcc
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date: Tue Sep 15 18:44:18 2015 +0900
sbin/mount_hammer: Remove typedef ary_ptr_t
It makes code more clear and readable without this typedef
which is only used for the first arg of extract_volumes().
info.volumes is char**, and an array internally used within
the function is char**, then using char*** for the first arg
is better than using typedef for char**.
Summary of changes:
sbin/mount_hammer/mount_hammer.c | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f1e2cdee09be44f6dc9aa3684ada8aeb97e5ddcc
--
DragonFly BSD source repository
More information about the Commits
mailing list