Clean up includes

This commit is contained in:
Linus Dierheimer
2022-06-18 14:25:31 +02:00
parent f35dc9f46a
commit fe71291769
45 changed files with 70 additions and 50 deletions
+2
View File
@@ -1,5 +1,7 @@
#include "fastfetch.h"
#include <stdlib.h>
#define FF_CACHE_VALUE_EXTENSION "ffcv"
#define FF_CACHE_SPLIT_EXTENSION "ffcs"
+1
View File
@@ -1,5 +1,6 @@
#include "fastfetch.h"
#include <stdlib.h>
#include <unistd.h>
#include <sys/stat.h>
#include <signal.h>
+1 -2
View File
@@ -1,9 +1,8 @@
#include "fastfetch.h"
#include <stdio.h>
#include <sys/stat.h>
#include <unistd.h>
#include <fcntl.h>
#include <stdarg.h>
#include <termios.h>
#include <poll.h>
+1
View File
@@ -1,6 +1,7 @@
#include "fastfetch.h"
#include <stdarg.h>
#include <dlfcn.h>
static void* libraryLoad(const char* path, int maxVersion)
{
-1
View File
@@ -1,6 +1,5 @@
#include "fastfetch.h"
#include <sys/types.h>
#include <unistd.h>
#include <sys/socket.h>
#include <netdb.h>
+1 -1
View File
@@ -1,6 +1,6 @@
#include "fastfetch.h"
#include <sys/types.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/wait.h>
+2
View File
@@ -1,5 +1,7 @@
#include "fastfetch.h"
#include <stdlib.h>
static bool parsePropLinePointer(const char** line, const char* start, FFstrbuf* buffer)
{
if(**line == '\0')
+1
View File
@@ -2,6 +2,7 @@
#include <pthread.h>
#include <string.h>
#include <dlfcn.h>
#define FF_LIBRARY_DATA_LOAD_INIT(dataObject, userLibraryName, ...) \
static dataObject data; \