summaryrefslogtreecommitdiff
path: root/networking/udhcp
diff options
context:
space:
mode:
authorDenys Vlasenko2021-04-14 17:52:18 +0200
committerDenys Vlasenko2021-04-14 17:52:18 +0200
commitfe2d8065e3e3c251c054a30e9823977e20b5ab7c (patch)
treee020c35302c0fface2e39414cfae9f4ba6531b1c /networking/udhcp
parentba9f9c2d2c57f6041c6c01ba7c0e8379a5f5d440 (diff)
downloadbusybox-fe2d8065e3e3c251c054a30e9823977e20b5ab7c.zip
busybox-fe2d8065e3e3c251c054a30e9823977e20b5ab7c.tar.gz
fix gcc-11.0 warnings
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/udhcp')
-rw-r--r--networking/udhcp/signalpipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/udhcp/signalpipe.c b/networking/udhcp/signalpipe.c
index 7df6712..774c4be 100644
--- a/networking/udhcp/signalpipe.c
+++ b/networking/udhcp/signalpipe.c
@@ -65,7 +65,7 @@ void FAST_FUNC udhcp_sp_setup(void)
/* Quick little function to setup the pfds.
* Limited in that you can only pass one extra fd.
*/
-void FAST_FUNC udhcp_sp_fd_set(struct pollfd pfds[2], int extra_fd)
+void FAST_FUNC udhcp_sp_fd_set(struct pollfd *pfds, int extra_fd)
{
pfds[0].fd = READ_FD;
pfds[0].events = POLLIN;