]> git.ipfire.org Git - thirdparty/util-linux.git/blobdiff - schedutils/ionice.c
misc: add static keyword to where needed [smatch scan]
[thirdparty/util-linux.git] / schedutils / ionice.c
index 38a6846f9b8452efc5516f3a0159a87ae61d3351..1cbde8faafd7d3645fcb2541e91dd8a7d8766213 100644 (file)
@@ -51,7 +51,7 @@ enum {
 #define IOPRIO_PRIO_DATA(mask) ((mask) & IOPRIO_PRIO_MASK)
 #define IOPRIO_PRIO_VALUE(class, data) (((class) << IOPRIO_CLASS_SHIFT) | data)
 
-const char *to_prio[] = {
+static const char *to_prio[] = {
        [IOPRIO_CLASS_NONE] = "none",
        [IOPRIO_CLASS_RT]   = "realtime",
        [IOPRIO_CLASS_BE]   = "best-effort",