diff --git a/zdump/stdout.c b/zdump/stdout.c index 77c5d295..3ddccc62 100644 --- a/zdump/stdout.c +++ b/zdump/stdout.c @@ -12,6 +12,7 @@ #include "zg.h" #include "dfi.h" #include "dfo.h" +#include "stdout.h" int stdout_write_dump(void) { diff --git a/zdump/stdout.h b/zdump/stdout.h new file mode 100644 index 00000000..aaf23b21 --- /dev/null +++ b/zdump/stdout.h @@ -0,0 +1,13 @@ +/* + * Copyright IBM Corp. 2001, 2018 + * + * s390-tools is free software; you can redistribute it and/or modify + * it under the terms of the MIT license. See LICENSE for details. + */ + +#ifndef STDOUT_H +#define STDOUT_H + +int stdout_write_dump(void); + +#endif /* STDOUT_H */ diff --git a/zdump/zgetdump.c b/zdump/zgetdump.c index fa22338f..bdeff284 100644 --- a/zdump/zgetdump.c +++ b/zdump/zgetdump.c @@ -30,6 +30,7 @@ #include "dt.h" #include "dfi.h" #include "dfo.h" +#include "stdout.h" #include "zfuse.h" /* diff --git a/zdump/zgetdump.h b/zdump/zgetdump.h index 4a553432..c51a84ce 100644 --- a/zdump/zgetdump.h +++ b/zdump/zgetdump.h @@ -12,6 +12,7 @@ #ifndef ZGETDUMP_H #define ZGETDUMP_H +#include "zg.h" #include "opts.h" /* @@ -22,6 +23,4 @@ extern struct zgetdump_globals { struct options opts; } g; -int stdout_write_dump(void); - #endif /* ZGETDUMP_H */