Module Name: src
Committed By: riastradh
Date: Thu Mar 27 10:57:10 UTC 2025
Modified Files:
src/tests/net/net: t_unix.c
Log Message:
t_unix: Sort includes.
No functional change intended.
Preparation for:
PR kern/59220: accept(2): null pointer deref
To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/tests/net/net/t_unix.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tests/net/net/t_unix.c
diff -u src/tests/net/net/t_unix.c:1.25 src/tests/net/net/t_unix.c:1.26
--- src/tests/net/net/t_unix.c:1.25 Sun Aug 8 20:54:49 2021
+++ src/tests/net/net/t_unix.c Thu Mar 27 10:57:10 2025
@@ -1,4 +1,4 @@
-/* $NetBSD: t_unix.c,v 1.25 2021/08/08 20:54:49 nia Exp $ */
+/* $NetBSD: t_unix.c,v 1.26 2025/03/27 10:57:10 riastradh Exp $ */
/*-
* Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -39,7 +39,7 @@
#define _GNU_SOURCE
#include <sys/cdefs.h>
#ifdef __RCSID
-__RCSID("$Id: t_unix.c,v 1.25 2021/08/08 20:54:49 nia Exp $");
+__RCSID("$Id: t_unix.c,v 1.26 2025/03/27 10:57:10 riastradh Exp $");
#else
#define getprogname() argv[0]
#endif
@@ -49,20 +49,23 @@ __RCSID("$Id: t_unix.c,v 1.25 2021/08/08
#else
#define LX
#endif
+
#include <sys/param.h>
+
#include <sys/socket.h>
+#include <sys/stat.h>
#include <sys/un.h>
#include <sys/wait.h>
-#include <sys/stat.h>
-#include <stdio.h>
+
#include <err.h>
#include <errno.h>
-#include <string.h>
+#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
+#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <unistd.h>
-#include <stdbool.h>
#include "test.h"