mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
The global program options (and other actually globally used information) are currently passed through via function parameter whenever this information is needed. However, in reality, this information is used almost everywhere across the program. Make this information globally available and get rid of all the unnecessary function parameters for dasdfmt_info_t. This makes the code a little bit cleaner and more readable. Also, rename the global struct to a more suitable name. Reviewed-by: Stefan Haberland <sth@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>