]> git.ipfire.org Git - thirdparty/kmod.git/commit - testsuite/test-modinfo.c
testsuite: fix usage of reserved names
authorJohn Spencer <maillist-kmod@barfooze.de>
Mon, 26 Aug 2013 23:38:11 +0000 (01:38 +0200)
committerLucas De Marchi <lucas.demarchi@intel.com>
Thu, 29 Aug 2013 04:22:20 +0000 (01:22 -0300)
commitbd4e7340bcd9f95e04a6309667ffe1a5427edcaa
tree81c9b1401c01879174cc208cc7005970b0b31480
parent18811d22e9923893555b88a482aa967db0e7892a
testsuite: fix usage of reserved names

stdout and stderr are names reserved for the implementation
and musl uses them rightfully as macro - and the expansion
causes (of course) unexpected results.

rename the struct members stdout to out and stderr
to err, to be 1) compliant 2) cause compilation to
succeed.

fixes build with musl libc.
testsuite/test-alias.c
testsuite/test-loaded.c
testsuite/test-modinfo.c
testsuite/test-modprobe.c
testsuite/test-new-module.c
testsuite/testsuite.c
testsuite/testsuite.h