zdump: write_dump: use FILE *

Use the more common `FILE *` for writing to the output.

Reviewed-by: Alexander Egorenkov <egorenar@linux.ibm.com>
Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com>
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
Marc Hartmayer
2021-11-19 11:42:14 +01:00
committed by Jan Höppner
parent e9deec4c62
commit 697c5dc405
3 changed files with 21 additions and 17 deletions
+3 -1
View File
@@ -8,6 +8,8 @@
#ifndef OUTPUT_H
#define OUTPUT_H
int write_dump(int fd);
#include <stdio.h>
int write_dump(FILE *stream);
#endif /* OUTPUT_H */