git: usr.sbin/makefs/hammer2: Avoid #include "makefs.h" in hammer2.h

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Sat Apr 22 02:55:05 PDT 2023


commit aa86710a711ce535d02a60a862c1bc4a964feec1
Author: Tomohiro Kusumi <tkusumi at netbsd.org>
Date:   Sat Apr 22 00:01:12 2023 -0700

    usr.sbin/makefs/hammer2: Avoid #include "makefs.h" in hammer2.h
    
    Not a build error from ddd1d3d1ff2fecb3b58ce152a65095abaf634491,
    but safer to avoid including "makefs.h" in usr.sbin/makefs/hammer2/hammer2.h
    which basically shouldn't know anything about makefs(8).

Summary of changes:
 usr.sbin/makefs/hammer2/hammer2.h      | 3 ---
 usr.sbin/makefs/hammer2/hammer2_subr.c | 3 +++
 2 files changed, 3 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/aa86710a711ce535d02a60a862c1bc4a964feec1


-- 
DragonFly BSD source repository


More information about the Commits mailing list