]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blobdiff - db/init.c
xfsprogs: make static things static
[thirdparty/xfsprogs-dev.git] / db / init.c
index a70b02b441f23569ec2a60432510ba3ea8c528df..455220a866f9fbe495be2f2eea5c05d264e43a89 100644 (file)
--- a/db/init.c
+++ b/db/init.c
@@ -23,10 +23,10 @@ char                        *fsdevice;
 int                    blkbb;
 int                    exitcode;
 int                    expert_mode;
-int                    force;
-struct xfs_mount       xmount;
+static int             force;
+static struct xfs_mount        xmount;
 struct xfs_mount       *mp;
-struct xlog            xlog;
+static struct xlog     xlog;
 libxfs_init_t          x;
 xfs_agnumber_t         cur_agno = NULLAGNUMBER;
 
@@ -39,7 +39,7 @@ usage(void)
        exit(1);
 }
 
-void
+static void
 init(
        int             argc,
        char            **argv)