git: sbin/hammer2: Make comp|checkmodestr() available in subs.c
Tomohiro Kusumi
tkusumi at crater.dragonflybsd.org
Fri Nov 3 01:29:54 PDT 2023
commit 2a98b0e0d4aa48b8c50a866f4c054f37b556dca2
Author: Tomohiro Kusumi <tkusumi at netbsd.org>
Date: Fri Nov 3 00:08:21 2023 -0700
sbin/hammer2: Make comp|checkmodestr() available in subs.c
These functions have been static in sbin/hammer2/cmd_stat.c,
but useful in other directives as well, e.g. show.
Summary of changes:
sbin/hammer2/cmd_debug.c | 8 +++---
sbin/hammer2/cmd_stat.c | 64 +++------------------------------------------
sbin/hammer2/hammer2.h | 8 ------
sbin/hammer2/hammer2_subs.h | 10 +++++++
sbin/hammer2/subs.c | 53 +++++++++++++++++++++++++++++++++++++
5 files changed, 71 insertions(+), 72 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2a98b0e0d4aa48b8c50a866f4c054f37b556dca2
--
DragonFly BSD source repository
More information about the Commits
mailing list