Fix include headers following IWYU
This commit is contained in:
		
							parent
							
								
									acd63a915e
								
							
						
					
					
						commit
						6711afdb58
					
				| @ -3,12 +3,32 @@ | ||||
| 
 | ||||
| //#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 "emu.h" | ||||
| #include "emu_args.h" | ||||
| #include "emu_prv.h" | ||||
| #include "extend.h" | ||||
| #include "model_cpu.h" | ||||
| #include "mux.h" | ||||
| #include "nanos6_priv.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 "value.h" | ||||
| 
 | ||||
| 
 | ||||
| static int | ||||
| create_cpu(struct bay *bay, struct breakdown_cpu *bcpu, int64_t gindex) | ||||
|  | ||||
| @ -32,10 +32,10 @@ | ||||
|  *                 +------+       +-----+ | ||||
|  */ | ||||
| 
 | ||||
| #include "mux.h" | ||||
| #include <stdint.h> | ||||
| #include "chan.h" | ||||
| #include "mux.h" | ||||
| #include "sort.h" | ||||
| #include "pv/pvt.h" | ||||
| 
 | ||||
| struct breakdown_cpu { | ||||
| 	struct mux  mux0; | ||||
|  | ||||
| @ -16,6 +16,7 @@ | ||||
| #include "model_cpu.h" | ||||
| #include "model_pvt.h" | ||||
| #include "model_thread.h" | ||||
| #include "mux.h" | ||||
| #include "proc.h" | ||||
| #include "pv/pcf.h" | ||||
| #include "pv/prv.h" | ||||
|  | ||||
| @ -4,6 +4,9 @@ | ||||
| //#define ENABLE_DEBUG
 | ||||
| 
 | ||||
| #include "sort.h" | ||||
| #include <stdlib.h> | ||||
| #include <string.h> | ||||
| #include "bay.h" | ||||
| #include "chan.h" | ||||
| #include "value.h" | ||||
| 
 | ||||
|  | ||||
| @ -5,9 +5,9 @@ | ||||
| #define SORT_H | ||||
| 
 | ||||
| #include <stdint.h> | ||||
| #include "bay.h" | ||||
| 
 | ||||
| struct sort; | ||||
| #include "common.h" | ||||
| struct bay; | ||||
| struct chan; | ||||
| 
 | ||||
| struct sort_input { | ||||
| 	int64_t index; | ||||
|  | ||||
| @ -2,6 +2,7 @@ | ||||
|  * SPDX-License-Identifier: GPL-3.0-or-later */ | ||||
| 
 | ||||
| #include "emu/sort.h" | ||||
| #include "bay.h" | ||||
| #include "chan.h" | ||||
| #include "common.h" | ||||
| #include "unittest.h" | ||||
|  | ||||
| @ -1,9 +1,11 @@ | ||||
| /* Copyright (c) 2021-2023 Barcelona Supercomputing Center (BSC)
 | ||||
|  * 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 "unittest.h" | ||||
| #include "emu/sort.h" | ||||
| 
 | ||||
| static int64_t | ||||
| randint(void) | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user