diff options
Diffstat (limited to 'lib9p/tests/test_server')
-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.c | 5 | ||||
-rw-r--r-- | lib9p/tests/test_server/fs_whoami.h | 2 | ||||
-rw-r--r-- | lib9p/tests/test_server/main.c | 6 |
5 files changed, 9 insertions, 8 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.c b/lib9p/tests/test_server/fs_whoami.c index 8d9752a..7e1d635 100644 --- a/lib9p/tests/test_server/fs_whoami.c +++ b/lib9p/tests/test_server/fs_whoami.c @@ -4,8 +4,9 @@ * SPDX-License-Identifier: AGPL-3.0-or-later */ -#include <stdio.h> /* for snprintf() */ -#include <stdlib.h> /* for realloc(), free() */ +#include <inttypes.h> /* for PRI* */ +#include <stdio.h> /* for snprintf() */ +#include <stdlib.h> /* for realloc(), free() */ #include <libmisc/alloc.h> 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 **************************************************************/ |