]> git.ipfire.org Git - thirdparty/util-linux.git/blobdiff - sys-utils/prlimit.c
misc: add static keyword to where needed [smatch scan]
[thirdparty/util-linux.git] / sys-utils / prlimit.c
index b4ad739ed08e27f4606fe5241919c55959bef4c5..c96d38589ebf9c3fe3bbad2f3b4ff23104c4272a 100644 (file)
@@ -119,7 +119,7 @@ struct colinfo {
 };
 
 /* columns descriptions */
-struct colinfo infos[] = {
+static struct colinfo infos[] = {
        [COL_RES]     = { "RESOURCE",    0.25, SCOLS_FL_TRUNC, N_("resource name") },
        [COL_HELP]    = { "DESCRIPTION", 0.1,  SCOLS_FL_TRUNC, N_("resource description")},
        [COL_SOFT]    = { "SOFT",        0.1,  SCOLS_FL_RIGHT, N_("soft limit")},