Define nitems() to count container size
authorSofian Brabez <sbz@6dev.net>
Sun, 21 Jun 2020 16:37:43 +0000 (17:37 +0100)
committerSofian Brabez <sbz@6dev.net>
Sun, 21 Jun 2020 17:31:13 +0000 (18:31 +0100)
commitade99a664e2fd6ceb5afa5722044b5ae4cf15628
tree84fbc5ccbb0044cb335c57919713ad9e3f85f74c
parenta2c4f26d693113070f7cadd6943c0dd6a96c9ba2
Define nitems() to count container size

It avoids code duplication when computing size of arrays
sysinfo.c