refactor: add pragma once everywhere

This commit is contained in:
Jozef Steinhübl 2024-08-21 14:15:27 +02:00
parent d43f879b36
commit b62cf10f1f
No known key found for this signature in database
GPG key ID: E6BC90C91973B08F
10 changed files with 20 additions and 0 deletions

View file

@ -1,3 +1,5 @@
#pragma once
#define HANDLE_OPTIONS(argc, argv, optstring, ...) \ #define HANDLE_OPTIONS(argc, argv, optstring, ...) \
int opt; \ int opt; \
opterr = 0; \ opterr = 0; \

View file

@ -1 +1,3 @@
#pragma once
int cli_command_ci(int argc, char **argv); int cli_command_ci(int argc, char **argv);

View file

@ -1,3 +1,5 @@
#pragma once
#include <stddef.h> #include <stddef.h>
#include <stdio.h> #include <stdio.h>
#include <sys/stat.h> #include <sys/stat.h>

View file

@ -1,3 +1,5 @@
#pragma once
#include <stddef.h> #include <stddef.h>
#include <stdio.h> #include <stdio.h>
#include <sys/stat.h> #include <sys/stat.h>

View file

@ -1 +1,3 @@
#pragma once
int cli_command_config(int argc, char **argv); int cli_command_config(int argc, char **argv);

View file

@ -1 +1,3 @@
#pragma once
int cli_command_init(int argc, char **argv); int cli_command_init(int argc, char **argv);

View file

@ -1 +1,3 @@
#pragma once
int cli_command_provider(int argc, char **argv); int cli_command_provider(int argc, char **argv);

View file

@ -1 +1,3 @@
#pragma once
int cli_command_push(int argc, char **argv); int cli_command_push(int argc, char **argv);

View file

@ -1,3 +1,5 @@
#pragma once
#include <stdbool.h> #include <stdbool.h>
#define ASSERT_CONFIG_EXIST(cfg) \ #define ASSERT_CONFIG_EXIST(cfg) \

View file

@ -1,3 +1,5 @@
#pragma once
// Do not edit manually! Generated by cmake // Do not edit manually! Generated by cmake
#define GIMI_VERSION_MAJOR 0 #define GIMI_VERSION_MAJOR 0
#define GIMI_VERSION_MINOR 1 #define GIMI_VERSION_MINOR 1