mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
ipl_tools/proc.{c,h}: Restrict header scope
Optimize dependency management by limiting header inclusions to implementation files where possible. This reduces hidden dependencies, improves modularity, and enhances compilation performance. Signed-off-by: Jan Polensky <japo@linux.ibm.com> Reviewed-by: Jan Höppner <hoeppner@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
29007541e8
commit
92486dfcaf
@@ -16,6 +16,7 @@
|
||||
#include <sys/stat.h>
|
||||
#include <sys/sysmacros.h>
|
||||
#include <unistd.h>
|
||||
#include <ctype.h>
|
||||
|
||||
#include "ipl_tools.h"
|
||||
#include "proc.h"
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
#ifndef PROC_H
|
||||
#define PROC_H
|
||||
|
||||
#include <ctype.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
struct proc_part_entry {
|
||||
|
||||
Reference in New Issue
Block a user