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) |
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) /* 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; |