summaryrefslogtreecommitdiff
path: root/src/partition/growfs.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2018-06-29 16:50:34 +0200
committerLennart Poettering <lennart@poettering.net>2018-07-20 16:57:35 +0200
commit088c49c3da948ca1558d2a14280d10669fc9b8af (patch)
treec3b5b31344c1b345cc257b05c1c51607f1575afe /src/partition/growfs.c
parent6b228852bccefd515a45f04c801c31ed99607958 (diff)
downloadsystemd-088c49c3da948ca1558d2a14280d10669fc9b8af.tar.gz
growfs: make global variables that don't need to be exported static
Diffstat (limited to 'src/partition/growfs.c')
-rw-r--r--src/partition/growfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/partition/growfs.c b/src/partition/growfs.c
index d2053cd391..6f1aa28933 100644
--- a/src/partition/growfs.c
+++ b/src/partition/growfs.c
@@ -24,8 +24,8 @@
#include "path-util.h"
#include "strv.h"
-const char *arg_target = NULL;
-bool arg_dry_run = false;
+static const char *arg_target = NULL;
+static bool arg_dry_run = false;
static int resize_ext4(const char *path, int mountfd, int devfd, uint64_t numblocks, uint64_t blocksize) {
assert((uint64_t) (int) blocksize == blocksize);