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:
Jan Polensky
2025-03-18 09:57:46 +01:00
committed by Jan Höppner
parent 29007541e8
commit 92486dfcaf
2 changed files with 1 additions and 1 deletions

View File

@@ -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"

View File

@@ -12,7 +12,6 @@
#ifndef PROC_H
#define PROC_H
#include <ctype.h>
#include <sys/types.h>
struct proc_part_entry {