diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-05-17 12:38:59 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-05-17 13:28:16 -0600 |
commit | 7cbd849648d41c8b55b5b5fe618b8d20e75db868 (patch) | |
tree | 0fede0bc971d318053c1d75223372a6a44c64d47 /lib9p/tests | |
parent | 037df4afccb4577351f8155a0b9a36825ac7eb15 (diff) |
Sort+align #includes
Diffstat (limited to 'lib9p/tests')
-rw-r--r-- | lib9p/tests/test_server/fs_flush.h | 2 | ||||
-rw-r--r-- | lib9p/tests/test_server/fs_shutdown.h | 2 | ||||
-rw-r--r-- | lib9p/tests/test_server/fs_whoami.h | 2 | ||||
-rw-r--r-- | lib9p/tests/test_server/main.c | 6 | ||||
-rw-r--r-- | lib9p/tests/testclient-sess.c | 8 |
5 files changed, 10 insertions, 10 deletions
diff --git a/lib9p/tests/test_server/fs_flush.h b/lib9p/tests/test_server/fs_flush.h index a509c4a..2b08850 100644 --- a/lib9p/tests/test_server/fs_flush.h +++ b/lib9p/tests/test_server/fs_flush.h @@ -7,8 +7,8 @@ #ifndef _LIB9P_TESTS_TEST_SERVER_FS_FLUSH_H_ #define _LIB9P_TESTS_TEST_SERVER_FS_FLUSH_H_ -#include <util9p/static.h> #include <libhw/host_net.h> +#include <util9p/static.h> struct flush_file { char *name; diff --git a/lib9p/tests/test_server/fs_shutdown.h b/lib9p/tests/test_server/fs_shutdown.h index 65956db..6b8683c 100644 --- a/lib9p/tests/test_server/fs_shutdown.h +++ b/lib9p/tests/test_server/fs_shutdown.h @@ -7,8 +7,8 @@ #ifndef _LIB9P_TESTS_TEST_SERVER_FS_SHUTDOWN_H_ #define _LIB9P_TESTS_TEST_SERVER_FS_SHUTDOWN_H_ -#include <util9p/static.h> #include <libhw/host_net.h> +#include <util9p/static.h> struct shutdown_file { char *name; diff --git a/lib9p/tests/test_server/fs_whoami.h b/lib9p/tests/test_server/fs_whoami.h index 0d3d311..5e1aee9 100644 --- a/lib9p/tests/test_server/fs_whoami.h +++ b/lib9p/tests/test_server/fs_whoami.h @@ -7,8 +7,8 @@ #ifndef _LIB9P_TESTS_TEST_SERVER_FS_WHOAMI_H_ #define _LIB9P_TESTS_TEST_SERVER_FS_WHOAMI_H_ -#include <util9p/static.h> #include <libhw/host_net.h> +#include <util9p/static.h> struct whoami_file { char *name; diff --git a/lib9p/tests/test_server/main.c b/lib9p/tests/test_server/main.c index 4caff16..f2a73bf 100644 --- a/lib9p/tests/test_server/main.c +++ b/lib9p/tests/test_server/main.c @@ -4,24 +4,24 @@ * SPDX-License-Identifier: AGPL-3.0-or-later */ -#include <error.h> #include <errno.h> +#include <error.h> #include <stdio.h> #include <stdlib.h> /* for atoi() */ #include <lib9p/srv.h> #include <libcr/coroutine.h> -#include <libhw/generic/net.h> #include <libhw/generic/alarmclock.h> +#include <libhw/generic/net.h> #include <libhw/host_alarmclock.h> #include <libhw/host_net.h> #include <libmisc/macro.h> #include <util9p/static.h> -#include "static.h" #include "fs_flush.h" #include "fs_shutdown.h" #include "fs_whoami.h" +#include "static.h" /* configuration **************************************************************/ diff --git a/lib9p/tests/testclient-sess.c b/lib9p/tests/testclient-sess.c index 7cb7f97..eef9d2c 100644 --- a/lib9p/tests/testclient-sess.c +++ b/lib9p/tests/testclient-sess.c @@ -8,14 +8,14 @@ #include <errno.h> #include <error.h> #include <netinet/in.h> /* for struct sockaddr{,_in} */ -#include <stdlib.h> /* for atoi() */ +#include <stdlib.h> /* for atoi() */ #include <sys/socket.h> /* for socket(), connect() */ -#include <sys/uio.h> /* for writev() */ -#include <unistd.h> /* for read() */ +#include <sys/uio.h> /* for writev() */ +#include <unistd.h> /* for read() */ +#include <lib9p/core.h> #include <libmisc/assert.h> #include <libmisc/endian.h> -#include <lib9p/core.h> #define MAX_MSG_SIZE (8*1024) |