fix gcc-11.0 warnings

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2021-04-14 17:52:18 +02:00
parent ba9f9c2d2c
commit fe2d8065e3
4 changed files with 4 additions and 4 deletions

View File

@ -623,7 +623,7 @@ uoff_t FAST_FUNC get_volume_size_in_bytes(int fd,
unsigned override_units,
int extend);
void xpipe(int filedes[2]) FAST_FUNC;
void xpipe(int *filedes) FAST_FUNC;
/* In this form code with pipes is much more readable */
struct fd_pair { int rd; int wr; };
#define piped_pair(pair) pipe(&((pair).rd))