diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2021-04-14 17:52:18 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2021-04-14 17:52:18 +0200 |
commit | fe2d8065e3e3c251c054a30e9823977e20b5ab7c (patch) | |
tree | e020c35302c0fface2e39414cfae9f4ba6531b1c /networking | |
parent | ba9f9c2d2c57f6041c6c01ba7c0e8379a5f5d440 (diff) | |
download | busybox-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 'networking')
-rw-r--r-- | networking/udhcp/signalpipe.c | 2 |
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) | |||
65 | /* Quick little function to setup the pfds. | 65 | /* Quick little function to setup the pfds. |
66 | * Limited in that you can only pass one extra fd. | 66 | * Limited in that you can only pass one extra fd. |
67 | */ | 67 | */ |
68 | void FAST_FUNC udhcp_sp_fd_set(struct pollfd pfds[2], int extra_fd) | 68 | void FAST_FUNC udhcp_sp_fd_set(struct pollfd *pfds, int extra_fd) |
69 | { | 69 | { |
70 | pfds[0].fd = READ_FD; | 70 | pfds[0].fd = READ_FD; |
71 | pfds[0].events = POLLIN; | 71 | pfds[0].events = POLLIN; |