]> mj.ucw.cz Git - libucw.git/commitdiff
tableprinter: size units are now static
authorRobert Kessl <kesslr@centrum.cz>
Thu, 24 Jul 2014 08:15:35 +0000 (10:15 +0200)
committerRobert Kessl <kesslr@centrum.cz>
Thu, 24 Jul 2014 08:15:35 +0000 (10:15 +0200)
ucw/table-types.c

index 85f123cb00cf8fae84467061c6adbc9ac202552a..1894a9a6daddf673b929461bc69ee7b3eeac75a9 100644 (file)
@@ -16,7 +16,7 @@
 
 /** xt_size **/
 
-struct unit_definition xtype_units_size[] = {
+static struct unit_definition xtype_units_size[] = {
   [SIZE_UNIT_BYTE] = { "", 1LLU, 1 },
   [SIZE_UNIT_KILOBYTE] = { "KB", 1024LLU, 1 },
   [SIZE_UNIT_MEGABYTE] = { "MB", 1024LLU * 1024LLU, 1 },