1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

gcc: avoid shadowing use_aio

Function use_aio() is already declared, avoid its shadowing.
lvm-globals.h:59: warning: shadowed declaration is here
This commit is contained in:
Zdenek Kabelac 2018-11-30 21:56:16 +01:00
parent 0d61a17152
commit d8ad73e937
2 changed files with 3 additions and 3 deletions

View File

@ -70,9 +70,9 @@ void init_test(int level)
_test = level;
}
void init_use_aio(int use_aio)
void init_use_aio(int useaio)
{
_use_aio = use_aio;
_use_aio = useaio;
}
void init_md_filtering(int level)

View File

@ -25,7 +25,7 @@ enum dev_ext_e;
void init_verbose(int level);
void init_silent(int silent);
void init_test(int level);
void init_use_aio(int use_aio);
void init_use_aio(int useaio);
void init_md_filtering(int level);
void init_internal_filtering(int level);
void init_fwraid_filtering(int level);