Previously, `lsblk -e 8 -e 11` did not exlude maj:8 as requested.
Signed-off-by: Bernhard Voelker <mail@bernhard-voelker.de>
int columns[NCOLS];/* enabled columns */
int ncolumns; /* number of enabled columns */
-int excludes[256];
-size_t nexcludes;
+static int excludes[256];
+static size_t nexcludes;
static struct libmnt_table *mtab, *swaps;
static struct libmnt_cache *mntcache;
static void parse_excludes(const char *str)
{
- nexcludes = 0;
-
while (str && *str) {
char *end = NULL;
unsigned long n;