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>
#define XFS_NOMULTIDISK_AGLOG 2 /* 4 AGs */
#define XFS_MULTIDISK_AGCOUNT (1 << XFS_MULTIDISK_AGLOG)
-/* proto.c */
-extern char *setup_proto (char *fname);
-extern void parse_proto (xfs_mount_t *mp, struct fsxattr *fsx, char **pp);
-extern void res_failed (int err);
-
#endif /* __XFS_MULTIDISK_H__ */
#include "libxfs.h"
#include <sys/stat.h>
#include "libfrog/convert.h"
+#include "proto.h"
/*
* Prototypes for internal functions.
#include "libfrog/fsgeom.h"
#include "libfrog/topology.h"
#include "libfrog/convert.h"
+#include "proto.h"
#include <ini.h>
#define TERABYTES(count, blog) ((uint64_t)(count) << (40 - (blog)))