mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
zdump/stdout: Extract stdout.h header from zgetdump.h
Create a separate C header for STDOUT to separate independent things and make it more readable. Signed-off-by: Alexander Egorenkov <egorenar@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
d8871197ea
commit
8308143008
@@ -12,6 +12,7 @@
|
||||
#include "zg.h"
|
||||
#include "dfi.h"
|
||||
#include "dfo.h"
|
||||
#include "stdout.h"
|
||||
|
||||
int stdout_write_dump(void)
|
||||
{
|
||||
|
||||
13
zdump/stdout.h
Normal file
13
zdump/stdout.h
Normal file
@@ -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 */
|
||||
@@ -30,6 +30,7 @@
|
||||
#include "dt.h"
|
||||
#include "dfi.h"
|
||||
#include "dfo.h"
|
||||
#include "stdout.h"
|
||||
#include "zfuse.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 */
|
||||
|
||||
Reference in New Issue
Block a user