Declare in corresponding header files and dissolve main.h (#3796)

* Declare in corresponding header files and dissolve main.h

Apply include-what-you-use

* Remove further unncessary includes

* Incorporate review comment

* Do not declare static functions and variables in header

* Adapt test

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
Tobias Predel 2025-03-01 20:47:42 +01:00 committed by GitHub
parent 55c02f5420
commit 81ca04fc8c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
66 changed files with 402 additions and 176 deletions

View file

@ -27,12 +27,10 @@
#include <cmake.h>
// cmake.h include header must come first
#include <main.h>
#include <stdlib.h>
#include <test.h>
#include <unistd.h>
#include <iostream>
#include "Context.h"
namespace {