[kernel] test run sorting some includes
No functional change.
This commit is contained in:
@@ -7,10 +7,10 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <lk/compiler.h>
|
||||
#include <stdbool.h>
|
||||
#include <stddef.h>
|
||||
#include <sys/types.h>
|
||||
#include <lk/compiler.h>
|
||||
|
||||
/* command args */
|
||||
typedef struct {
|
||||
|
||||
@@ -8,9 +8,9 @@
|
||||
#pragma once
|
||||
|
||||
#include <lk/compiler.h>
|
||||
#include <platform/debug.h>
|
||||
#include <stddef.h>
|
||||
#include <stdio.h>
|
||||
#include <platform/debug.h>
|
||||
|
||||
#if !defined(LK_DEBUGLEVEL)
|
||||
#define LK_DEBUGLEVEL 0
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
#pragma once
|
||||
|
||||
#include <lk/compiler.h>
|
||||
#include <stddef.h>
|
||||
#include <stdbool.h>
|
||||
#include <stddef.h>
|
||||
|
||||
__BEGIN_CDECLS
|
||||
|
||||
|
||||
@@ -8,9 +8,9 @@
|
||||
#pragma once
|
||||
|
||||
#include <lk/compiler.h>
|
||||
#include <sys/types.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
__BEGIN_CDECLS
|
||||
|
||||
|
||||
@@ -11,9 +11,9 @@
|
||||
* a init hook that is called at increasing init levels as the system is
|
||||
* initialized.
|
||||
*/
|
||||
#include <arch/ops.h>
|
||||
#include <lk/init.h>
|
||||
|
||||
#include <arch/ops.h>
|
||||
#include <assert.h>
|
||||
#include <lk/compiler.h>
|
||||
#include <lk/debug.h>
|
||||
|
||||
15
top/main.c
15
top/main.c
@@ -10,19 +10,20 @@
|
||||
* Main entry point to the OS. Initializes modules in order and creates
|
||||
* the default thread.
|
||||
*/
|
||||
#include <lk/compiler.h>
|
||||
#include <lk/debug.h>
|
||||
#include <string.h>
|
||||
#include <lk/main.h>
|
||||
|
||||
#include <app.h>
|
||||
#include <arch.h>
|
||||
#include <platform.h>
|
||||
#include <target.h>
|
||||
#include <lib/heap.h>
|
||||
#include <kernel/mutex.h>
|
||||
#include <kernel/novm.h>
|
||||
#include <kernel/thread.h>
|
||||
#include <lib/heap.h>
|
||||
#include <lk/compiler.h>
|
||||
#include <lk/debug.h>
|
||||
#include <lk/init.h>
|
||||
#include <lk/main.h>
|
||||
#include <platform.h>
|
||||
#include <string.h>
|
||||
#include <target.h>
|
||||
|
||||
/* saved boot arguments from whoever loaded the system */
|
||||
ulong lk_boot_args[4];
|
||||
|
||||
Reference in New Issue
Block a user