commit | fe2d8065e3e3c251c054a30e9823977e20b5ab7c | [log] [tgz] |
---|---|---|
author | Denys Vlasenko <vda.linux@googlemail.com> | Wed Apr 14 17:52:18 2021 +0200 |
committer | Denys Vlasenko <vda.linux@googlemail.com> | Wed Apr 14 17:52:18 2021 +0200 |
tree | e020c35302c0fface2e39414cfae9f4ba6531b1c | |
parent | ba9f9c2d2c57f6041c6c01ba7c0e8379a5f5d440 [diff] [blame] |
fix gcc-11.0 warnings Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
diff --git a/include/libbb.h b/include/libbb.h index ece03e7..37732e1 100644 --- a/include/libbb.h +++ b/include/libbb.h
@@ -623,7 +623,7 @@ 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))