zdump: Don't use god-like C headers

Get rid of C headers which include everything. This is bad for testing and
maintainability. C files should include only what they need and no more.

Signed-off-by: Alexander Egorenkov <egorenar@linux.ibm.com>
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
Alexander Egorenkov
2021-10-11 15:46:16 +02:00
committed by Jan Höppner
parent afb14cba7a
commit 1005e7be7e
23 changed files with 70 additions and 17 deletions
+5 -1
View File
@@ -10,7 +10,11 @@
*/
#include <time.h>
#include "zgetdump.h"
#include "lib/util_list.h"
#include "dfi_mem_chunk.h"
#include "dfo.h"
#define dfo_chunk_iterate(dfo_chunk) \
util_list_iterate(&l.dump.chunk_list, dfo_chunk)