1
0
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:
Zdenek Kabelac 2024-05-13 11:18:20 +02:00
parent 74e487f3a9
commit ffdceeb982
3 changed files with 3 additions and 3 deletions

View File

@ -660,7 +660,7 @@ static void _fmt_text_destroy(struct labeller *l)
free(l); free(l);
} }
const struct label_ops _text_ops = { static const struct label_ops _text_ops = {
.can_handle = _text_can_handle, .can_handle = _text_can_handle,
.write = _text_write, .write = _text_write,
.read = _text_read, .read = _text_read,

View File

@ -77,7 +77,7 @@ int memlock_count_daemon(void)
static size_t _size_stack; static size_t _size_stack;
static size_t _size_malloc_tmp; 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 void *_malloc_mem = NULL;
static int _mem_locked = 0; static int _mem_locked = 0;

View File

@ -461,7 +461,7 @@ const char *extract_vgname(struct cmd_context *cmd, const char *lv_name)
return vg_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, int vgcreate_params_set_defaults(struct cmd_context *cmd,
struct vgcreate_params *vp_def, struct vgcreate_params *vp_def,