]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
growfs: make global variables that don't need to be exported static
authorLennart Poettering <lennart@poettering.net>
Fri, 29 Jun 2018 14:50:34 +0000 (16:50 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 20 Jul 2018 14:57:35 +0000 (16:57 +0200)
src/partition/growfs.c

index d2053cd391d78fbf07170269da27ba41ef75b24f..6f1aa28933518ca5276cd68ce2ef1826bec6b594 100644 (file)
@@ -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);