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
+1 -2
View File
@@ -9,13 +9,12 @@
* it under the terms of the MIT license. See LICENSE for details.
*/
#include <time.h>
#include "lib/util_log.h"
#include "zgetdump.h"
#include "dfi_mem_chunk.h"
#include "dfi_vmcoreinfo.h"
#include "dfi.h"
#define TIME_FMT_STR "%a, %d %b %Y %H:%M:%S %z"
#define PROGRESS_HASH_CNT 50