Move includes to the file that actually uses them

This was spotted thanks to clang-format reordering the includes.
Even with the new config, it will include the header file for the
current source file first. Nevertheless, it is best to always include
header files where they are needed.
This commit is contained in:
Ahsan Fayaz 2023-12-04 16:48:07 +00:00
parent f48c58f34c
commit 485a7f920a
2 changed files with 3 additions and 2 deletions

View File

@ -31,8 +31,6 @@ POSSIBILITY OF SUCH DAMAGE.
#include "common-cpu.h"
#include "common-logging.h"
#include <sched.h>
#include <stdlib.h>
char *parse_cpulist(char *cpulist, long *from, long *to)
{

View File

@ -31,6 +31,9 @@ POSSIBILITY OF SUCH DAMAGE.
#pragma once
#include <sched.h>
#include <stdlib.h>
#define IS_CPU_PARK 0
#define IS_CPU_PIN 1