summaryrefslogtreecommitdiffhomepage
path: root/networking
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 /networking
parentba9f9c2d2c57f6041c6c01ba7c0e8379a5f5d440 (diff)
fix gcc-11.0 warnings
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking')
-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 7df671245..774c4beee 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;