mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
cleanup: some missed public symbols static
This commit is contained in:
parent
74e487f3a9
commit
ffdceeb982
@ -660,7 +660,7 @@ static void _fmt_text_destroy(struct labeller *l)
|
||||
free(l);
|
||||
}
|
||||
|
||||
const struct label_ops _text_ops = {
|
||||
static const struct label_ops _text_ops = {
|
||||
.can_handle = _text_can_handle,
|
||||
.write = _text_write,
|
||||
.read = _text_read,
|
||||
|
@ -77,7 +77,7 @@ int memlock_count_daemon(void)
|
||||
|
||||
static size_t _size_stack;
|
||||
static size_t _size_malloc_tmp;
|
||||
const size_t _size_malloc = 2000000;
|
||||
static const size_t _size_malloc = 2000000;
|
||||
|
||||
static void *_malloc_mem = NULL;
|
||||
static int _mem_locked = 0;
|
||||
|
@ -461,7 +461,7 @@ const char *extract_vgname(struct cmd_context *cmd, const char *lv_name)
|
||||
return vg_name;
|
||||
}
|
||||
|
||||
const char _pe_size_may_not_be_negative_msg[] = "Physical extent size may not be negative.";
|
||||
static const char _pe_size_may_not_be_negative_msg[] = "Physical extent size may not be negative.";
|
||||
|
||||
int vgcreate_params_set_defaults(struct cmd_context *cmd,
|
||||
struct vgcreate_params *vp_def,
|
||||
|
Loading…
Reference in New Issue
Block a user