3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2026-03-24 06:08:06 +01:00
Marcel Holtmann 1c7933296b p2p: Fix build issue with missing _GNU_SOURCE
CC       src/p2p.o
src/p2p.c: In function ‘p2p_connection_reset’:
src/p2p.c:643:17: error: implicit declaration of function ‘explicit_bzero’ [-Wimplicit-function-declaration]
  643 |                 explicit_bzero(dev->conn_pin, strlen(dev->conn_pin));
      |                 ^~~~~~~~~~~~~~
src/p2p.c: In function ‘p2p_device_update_from_genl’:
src/p2p.c:4342:23: error: ‘HOST_NAME_MAX’ undeclared (first use in this function); did you mean ‘XATTR_NAME_MAX’?
 4342 |         char hostname[HOST_NAME_MAX + 1];
      |                       ^~~~~~~~~~~~~
      |                       XATTR_NAME_MAX
src/p2p.c:4342:23: note: each undeclared identifier is reported only once for each function it appears in
src/p2p.c:4376:9: error: implicit declaration of function ‘gethostname’; did you mean ‘getsockname’? [-Wimplicit-function-declaration]
 4376 |         gethostname(hostname, sizeof(hostname));
      |         ^~~~~~~~~~~
      |         getsockname
src/p2p.c:4342:14: error: unused variable ‘hostname’ [-Werror=unused-variable]
 4342 |         char hostname[HOST_NAME_MAX + 1];
      |              ^~~~~~~~
2026-02-10 09:23:11 +01:00
..
2024-11-07 19:11:59 +01:00
2020-07-09 09:58:21 -05:00
2024-11-07 19:11:59 +01:00
2021-09-28 10:51:33 -05:00
2022-01-11 11:07:05 -06:00
2024-09-03 10:18:56 -05:00
2024-09-03 10:18:56 -05:00
2024-11-25 11:47:07 -06:00
2022-11-17 10:04:56 -06:00
2021-09-28 16:46:48 -05:00
2024-10-24 09:09:38 -05:00
2023-12-13 10:12:41 -06:00
2017-11-28 13:20:33 -06:00
2023-02-27 10:26:17 -06:00
2021-09-20 10:32:51 -05:00
2021-11-11 14:27:33 -06:00
2024-11-07 19:11:59 +01:00
2019-07-15 14:06:26 -05:00
2024-11-07 19:11:59 +01:00
2020-09-16 14:31:07 -05:00
2020-04-10 06:31:19 -05:00
2025-08-27 12:37:21 -05:00
2025-08-27 12:37:21 -05:00
2022-01-11 11:07:05 -06:00
2024-07-24 15:25:28 -05:00
2021-11-03 17:44:00 -05:00
2021-11-03 17:44:00 -05:00
2024-11-20 11:46:43 -06:00
2024-11-20 11:46:43 -06:00
2024-05-29 17:52:23 -05:00
2024-05-29 17:52:23 -05:00