summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/net/af_unix/unix_connreset.c
diff options
context:
space:
mode:
authorSunday Adelodun <adelodunolaoluwa@yahoo.com>2025-11-25 12:36:48 +0100
committerPaolo Abeni <pabeni@redhat.com>2025-11-27 12:42:51 +0100
commit5c9c1e78de1e41b5321583139851797580c077c3 (patch)
tree6c43b0c6df240bceec3cd129e1bec765ac60c211 /tools/testing/selftests/net/af_unix/unix_connreset.c
parented245fe9c1bf5471cf0193a08ddab367f9ca0385 (diff)
selftests: af_unix: remove unused stdlib.h include
The unix_connreset.c test included <stdlib.h>, but no symbol from that header is used. This causes a fatal build error under certain linux-next configurations where stdlib.h is not available. Remove the unused include to fix the build. Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/r/202511221800.hcgCKvVa-lkp@intel.com/ Signed-off-by: Sunday Adelodun <adelodunolaoluwa@yahoo.com> Link: https://patch.msgid.link/20251125113648.25903-1-adelodunolaoluwa@yahoo.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/testing/selftests/net/af_unix/unix_connreset.c')
-rw-r--r--tools/testing/selftests/net/af_unix/unix_connreset.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/testing/selftests/net/af_unix/unix_connreset.c b/tools/testing/selftests/net/af_unix/unix_connreset.c
index 6eb936207b31..08c1de8f5a98 100644
--- a/tools/testing/selftests/net/af_unix/unix_connreset.c
+++ b/tools/testing/selftests/net/af_unix/unix_connreset.c
@@ -14,7 +14,6 @@
*/
#define _GNU_SOURCE
-#include <stdlib.h>
#include <string.h>
#include <fcntl.h>
#include <unistd.h>