various: mark arg_* as static

This commit is contained in:
Mike Yuan
2026-03-04 13:25:37 +01:00
parent 192954ac68
commit 769b0bf746
4 changed files with 4 additions and 4 deletions

View File

@@ -54,7 +54,7 @@ static uint32_t arg_tpm2_public_key_pcr_mask = 0;
static char *arg_tpm2_signature = NULL;
static char *arg_tpm2_pcrlock = NULL;
static char *arg_node = NULL;
PagerFlags arg_pager_flags = 0;
static PagerFlags arg_pager_flags = 0;
static int *arg_wipe_slots = NULL;
static size_t arg_n_wipe_slots = 0;
static WipeScope arg_wipe_slots_scope = WIPE_EXPLICIT;

View File

@@ -40,7 +40,7 @@
#include "unit-name.h"
#include "user-util.h"
enum {
static enum {
ACTION_DEFAULT,
ACTION_MOUNT,
ACTION_AUTOMOUNT,

View File

@@ -202,7 +202,7 @@ static char **arg_network_veth_extra = NULL;
static char *arg_network_bridge = NULL;
static char *arg_network_zone = NULL;
static char *arg_network_namespace_path = NULL;
struct ether_addr arg_network_provided_mac = {};
static struct ether_addr arg_network_provided_mac = {};
static PagerFlags arg_pager_flags = 0;
static unsigned long arg_personality = PERSONALITY_INVALID;
static char *arg_image = NULL;

View File

@@ -140,7 +140,7 @@ static char *arg_background = NULL;
static bool arg_pass_ssh_key = true;
static char *arg_ssh_key_type = NULL;
static bool arg_discard_disk = true;
struct ether_addr arg_network_provided_mac = {};
static struct ether_addr arg_network_provided_mac = {};
static char **arg_smbios11 = NULL;
static uint64_t arg_grow_image = 0;
static char *arg_tpm_state_path = NULL;