summaryrefslogtreecommitdiffhomepage
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)
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,
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))