zdev: Remove unused header files

Remove unused header files from these sources.
This simplifies maintenance and slightly reduces compile time.

Reviewed-by: Jan Höppner <hoeppner@linux.ibm.com>
Signed-off-by: Jan Polensky <japo@linux.ibm.com>
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
Jan Polensky
2025-10-07 17:09:07 +02:00
committed by Jan Höppner
parent 1dae9b4f49
commit 14830b1ead
15 changed files with 1 additions and 23 deletions

View File

@@ -9,11 +9,9 @@
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <err.h>
#include <errno.h>
#include <stdbool.h>
#include <stdlib.h>
#include <stdio.h>
#include "lib/util_libc.h"
@@ -25,7 +23,6 @@
#include "ccw.h"
#include "device.h"
#include "devtype.h"
#include "internal.h"
#include "misc.h"
#include "namespace.h"
#include "path.h"

View File

@@ -14,7 +14,6 @@
#include <stdlib.h>
#include <string.h>
#include "lib/util_base.h"
#include "lib/util_path.h"
#include "attrib.h"

View File

@@ -12,7 +12,6 @@
#include <stdlib.h>
#include <string.h>
#include "lib/util_base.h"
#include "lib/util_path.h"
#include "attrib.h"

View File

@@ -15,7 +15,6 @@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <ctype.h>
#include "lib/util_path.h"
#include "lib/zt_common.h"

View File

@@ -15,7 +15,6 @@
#include "ccwgroup.h"
#include "ctc.h"
#include "ctc_auto.h"
#include "device.h"
#include "lcs.h"
#include "module.h"
#include "path.h"

View File

@@ -7,7 +7,6 @@
* it under the terms of the MIT license. See LICENSE for details.
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

View File

@@ -7,7 +7,6 @@
* it under the terms of the MIT license. See LICENSE for details.
*/
#include <ctype.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>

View File

@@ -14,7 +14,6 @@
#include "ccw.h"
#include "ccwgroup.h"
#include "ctc.h"
#include "device.h"
#include "lcs.h"
#include "lcs_auto.h"
#include "module.h"

View File

@@ -28,11 +28,9 @@
#include "lib/util_file.h"
#include "dasd.h"
#include "device.h"
#include "devtype.h"
#include "misc.h"
#include "path.h"
#include "zdev.h"
#define DRYRUN_HEADER_BEGIN ((char) 0x01)
#define DRYRUN_HEADER_END ((char) 0x02)

View File

@@ -7,7 +7,6 @@
* it under the terms of the MIT license. See LICENSE for details.
*/
#include <ctype.h>
#include <errno.h>
#include <stddef.h>
#include <stdio.h>

View File

@@ -15,7 +15,6 @@
#include "ccw.h"
#include "ccwgroup.h"
#include "device.h"
#include "misc.h"
#include "path.h"
#include "qeth.h"

View File

@@ -12,8 +12,6 @@
#include <string.h>
#include <strings.h>
#include "lib/util_base.h"
#include "attrib.h"
#include "device.h"
#include "devnode.h"

View File

@@ -11,8 +11,6 @@
#include <stdlib.h>
#include <string.h>
#include "lib/util_base.h"
#include "misc.h"
#include "table.h"

View File

@@ -7,8 +7,6 @@
* it under the terms of the MIT license. See LICENSE for details.
*/
#include <ctype.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -23,7 +21,6 @@
#include "path.h"
#include "setting.h"
#include "udev.h"
#include "zdev_id.h"
int udev_need_settle = 0;
int udev_no_settle;

View File

@@ -7,7 +7,6 @@
* it under the terms of the MIT license. See LICENSE for details.
*/
#include <ctype.h>
#include <errno.h>
#include <inttypes.h>
#include <stdio.h>