]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
mkfs: move mkfs/proto.c declarations to mkfs/proto.h
authorDarrick J. Wong <djwong@kernel.org>
Wed, 29 Sep 2021 20:57:05 +0000 (16:57 -0400)
committerEric Sandeen <sandeen@sandeen.net>
Wed, 29 Sep 2021 20:57:05 +0000 (16:57 -0400)
commitec4e15fd1cbfec1b11bdf81d8cb0eeb1856a8a90
treedccbeb06dc6c8785bb9096b4a273a4aff00d73ca
parentde555f66fc47365d14fa499d462f31bff18f81a8
mkfs: move mkfs/proto.c declarations to mkfs/proto.h

These functions are only used by mkfs, so move them to a separate header
file that isn't in an internal library.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
[sandeen: cosmetic tidyups as suggested by Christoph]
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
include/xfs_multidisk.h
mkfs/proto.c
mkfs/proto.h [new file with mode: 0644]
mkfs/xfs_mkfs.c