Fix include headers following IWYU

This commit is contained in:
Rodrigo Arias 2023-03-24 19:23:31 +01:00 committed by Rodrigo Arias Mallo
parent acd63a915e
commit 6711afdb58
7 changed files with 36 additions and 9 deletions

View File

@ -3,12 +3,32 @@
//#define ENABLE_DEBUG //#define ENABLE_DEBUG
#include "nanos6_priv.h" #include "breakdown.h"
#include <stdint.h>
#include <stdio.h>
#include "bay.h"
#include "chan.h"
#include "common.h"
#include "cpu.h" #include "cpu.h"
#include "emu.h"
#include "emu_args.h"
#include "emu_prv.h" #include "emu_prv.h"
#include "extend.h"
#include "model_cpu.h"
#include "mux.h"
#include "nanos6_priv.h"
#include "proc.h" #include "proc.h"
#include "pv/pcf.h"
#include "pv/prf.h"
#include "pv/prv.h"
#include "pv/pvt.h"
#include "recorder.h"
#include "sort.h"
#include "system.h"
#include "task.h"
#include "track.h" #include "track.h"
#include "value.h"
static int static int
create_cpu(struct bay *bay, struct breakdown_cpu *bcpu, int64_t gindex) create_cpu(struct bay *bay, struct breakdown_cpu *bcpu, int64_t gindex)

View File

@ -32,10 +32,10 @@
* +------+ +-----+ * +------+ +-----+
*/ */
#include "mux.h" #include <stdint.h>
#include "chan.h" #include "chan.h"
#include "mux.h"
#include "sort.h" #include "sort.h"
#include "pv/pvt.h"
struct breakdown_cpu { struct breakdown_cpu {
struct mux mux0; struct mux mux0;

View File

@ -16,6 +16,7 @@
#include "model_cpu.h" #include "model_cpu.h"
#include "model_pvt.h" #include "model_pvt.h"
#include "model_thread.h" #include "model_thread.h"
#include "mux.h"
#include "proc.h" #include "proc.h"
#include "pv/pcf.h" #include "pv/pcf.h"
#include "pv/prv.h" #include "pv/prv.h"

View File

@ -4,6 +4,9 @@
//#define ENABLE_DEBUG //#define ENABLE_DEBUG
#include "sort.h" #include "sort.h"
#include <stdlib.h>
#include <string.h>
#include "bay.h"
#include "chan.h" #include "chan.h"
#include "value.h" #include "value.h"

View File

@ -5,9 +5,9 @@
#define SORT_H #define SORT_H
#include <stdint.h> #include <stdint.h>
#include "bay.h" #include "common.h"
struct bay;
struct sort; struct chan;
struct sort_input { struct sort_input {
int64_t index; int64_t index;

View File

@ -2,6 +2,7 @@
* SPDX-License-Identifier: GPL-3.0-or-later */ * SPDX-License-Identifier: GPL-3.0-or-later */
#include "emu/sort.h" #include "emu/sort.h"
#include "bay.h"
#include "chan.h" #include "chan.h"
#include "common.h" #include "common.h"
#include "unittest.h" #include "unittest.h"

View File

@ -1,9 +1,11 @@
/* Copyright (c) 2021-2023 Barcelona Supercomputing Center (BSC) /* Copyright (c) 2021-2023 Barcelona Supercomputing Center (BSC)
* SPDX-License-Identifier: GPL-3.0-or-later */ * SPDX-License-Identifier: GPL-3.0-or-later */
#include "emu/sort.h" #include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include "common.h" #include "common.h"
#include "unittest.h" #include "emu/sort.h"
static int64_t static int64_t
randint(void) randint(void)