Refactor: move io functions to own header

This commit is contained in:
Linus Dierheimer
2022-07-25 11:48:48 +02:00
parent ac96cfc748
commit 4a43144991
17 changed files with 41 additions and 17 deletions
+1
View File
@@ -1,4 +1,5 @@
#include "fastfetch.h"
#include "common/io.h"
#include <dirent.h>
+1
View File
@@ -1,4 +1,5 @@
#include "fastfetch.h"
#include "common/io.h"
#include <stdlib.h>
+3 -1
View File
@@ -5,7 +5,9 @@
#define FF_HOST_MODULE_NAME "Host"
#define FF_HOST_NUM_FORMAT_ARGS 15
#ifdef __ANDROID__
#ifndef __ANDROID__
#include "common/io.h"
#elif
#include <ctype.h>
#endif
+1
View File
@@ -1,4 +1,5 @@
#include "fastfetch.h"
#include "common/io.h"
#include <stdlib.h>
#include <string.h>