aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2021-04-14 17:52:18 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2021-04-14 17:52:18 +0200
commitfe2d8065e3e3c251c054a30e9823977e20b5ab7c (patch)
treee020c35302c0fface2e39414cfae9f4ba6531b1c /include
parentba9f9c2d2c57f6041c6c01ba7c0e8379a5f5d440 (diff)
downloadbusybox-w32-fe2d8065e3e3c251c054a30e9823977e20b5ab7c.tar.gz
busybox-w32-fe2d8065e3e3c251c054a30e9823977e20b5ab7c.tar.bz2
busybox-w32-fe2d8065e3e3c251c054a30e9823977e20b5ab7c.zip
fix gcc-11.0 warnings
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libbb.h b/include/libbb.h
index ece03e7d8..37732e14e 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -623,7 +623,7 @@ uoff_t FAST_FUNC get_volume_size_in_bytes(int fd,
623 unsigned override_units, 623 unsigned override_units,
624 int extend); 624 int extend);
625 625
626void xpipe(int filedes[2]) FAST_FUNC; 626void xpipe(int *filedes) FAST_FUNC;
627/* In this form code with pipes is much more readable */ 627/* In this form code with pipes is much more readable */
628struct fd_pair { int rd; int wr; }; 628struct fd_pair { int rd; int wr; };
629#define piped_pair(pair) pipe(&((pair).rd)) 629#define piped_pair(pair) pipe(&((pair).rd))