refactor: include only in header files

This commit is contained in:
Divlo
2023-01-07 19:41:04 +01:00
parent 886038a0ac
commit bd85171e2d
41 changed files with 101 additions and 131 deletions
-11
View File
@@ -1,16 +1,5 @@
#include "filesystem.h"
#include <dirent.h>
#include <errno.h>
#include <fcntl.h>
#include <pwd.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include "string.h"
int filesystem_read(char *path, char **file_content, off_t *file_size) {
int file_descriptor = open(path, O_RDONLY);
if (file_descriptor == -1) {