libxfs_device_open and libxfs_device_close are only used in init.c.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
void libxfs_destroy(struct libxfs_init *li);
extern int libxfs_device_to_fd (dev_t);
-extern dev_t libxfs_device_open (char *, int, int, int);
-extern void libxfs_device_close (dev_t);
extern int libxfs_device_alignment (void);
extern void libxfs_report(FILE *);
/* libxfs_device_open:
* open a device and return its device number
*/
-dev_t
+static dev_t
libxfs_device_open(char *path, int creat, int xflags, int setblksize)
{
dev_t dev;
/* NOTREACHED */
}
-void
+static void
libxfs_device_close(dev_t dev)
{
int d;