ndctl
ndctl copied to clipboard
../test/libndctl.c:989:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
Hello I found this warning during compiling the code:
../test/libndctl.c: In function ‘check_btt_size’: ../test/libndctl.c:989:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] unsigned long long expect_table[][2] = { ^~~~~~~~ CC ../test/dsm-fail.o CC ../util/sysfs.o CC ../test/dpa-alloc.o CC ../test/parent-uuid.o CC ../test/multi-pmem.o CC ../test/core.o CC test.o CCLD ndctl
Thanks Yi