use file headers

This commit is contained in:
2025-09-18 14:52:25 +02:00
parent e8357dc636
commit 25d0d64af6
9 changed files with 11 additions and 0 deletions
+1
View File
@@ -3,6 +3,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include "args.h"
#include "config.h" #include "config.h"
#include "logs.h" #include "logs.h"
#include "types.h" #include "types.h"
+1
View File
@@ -6,6 +6,7 @@
#include <sys/types.h> #include <sys/types.h>
#include <time.h> #include <time.h>
#include "file.h"
#include "logs.h" #include "logs.h"
#include "strings.h" #include "strings.h"
#include "types.h" #include "types.h"
+1
View File
@@ -5,6 +5,7 @@
#include "config.h" #include "config.h"
#include "file.h" #include "file.h"
#include "forge.h"
#include "logs.h" #include "logs.h"
#include "shaders.h" #include "shaders.h"
#include "timer.h" #include "timer.h"
+1
View File
@@ -5,6 +5,7 @@
#include "args.h" #include "args.h"
#include "config.h" #include "config.h"
#include "forge.h" #include "forge.h"
#include "main.h"
int main(int argc, char **argv) { int main(int argc, char **argv) {
Parameters params; Parameters params;
+2
View File
@@ -1,4 +1,6 @@
#ifndef MAIN_H #ifndef MAIN_H
#define MAIN_H #define MAIN_H
int main(int argc, char **argv);
#endif /* MAIN_H */ #endif /* MAIN_H */
+1
View File
@@ -5,6 +5,7 @@
#include "config.h" #include "config.h"
#include "constants.h" #include "constants.h"
#include "logs.h" #include "logs.h"
#include "shaders.h"
#include "types.h" #include "types.h"
static bool compile_shader(GLuint shader_id, char *name, char *source_code) { static bool compile_shader(GLuint shader_id, char *name, char *source_code) {
+2
View File
@@ -1,6 +1,8 @@
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include "strings.h"
char *strings_concat(const char *s1, const char *s2) { char *strings_concat(const char *s1, const char *s2) {
char *result; char *result;
+1
View File
@@ -1,5 +1,6 @@
#include <sys/time.h> #include <sys/time.h>
#include "timer.h"
#include "types.h" #include "types.h"
Timer timer_init(const unsigned int target) { Timer timer_init(const unsigned int target) {
+1
View File
@@ -5,6 +5,7 @@
#include "logs.h" #include "logs.h"
#include "types.h" #include "types.h"
#include "window.h"
#define GLAD_GL_IMPLEMENTATION #define GLAD_GL_IMPLEMENTATION
#include <glad/gl.h> #include <glad/gl.h>