From 35bb9571491c628a1e1a0c90e706e8ac52fd9ffe Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Tue, 18 Jun 2019 11:14:15 -0700 Subject: [PATCH] virtium: Declare local symbols static This patch avoids that sparse complains about missing declarations. Cc: Quyen Truong Signed-off-by: Bart Van Assche --- plugins/virtium/virtium-nvme.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/virtium/virtium-nvme.c b/plugins/virtium/virtium-nvme.c index ca5f5774..7d91ef8d 100644 --- a/plugins/virtium/virtium-nvme.c +++ b/plugins/virtium/virtium-nvme.c @@ -377,7 +377,9 @@ static int vt_update_vtview_log_header(const int fd, const char *path, const str return (ret); } -void vt_build_identify_lv2(unsigned int data, unsigned int start, unsigned int count, const char **table, bool isEnd) +static void vt_build_identify_lv2(unsigned int data, unsigned int start, + unsigned int count, const char **table, + bool isEnd) { unsigned int i, end, pos, sh = 1; unsigned int temp; -- 2.50.1