mirror of
https://github.com/xHyroM/gimi.git
synced 2024-11-24 08:21:04 +01:00
refactor: add pragma once everywhere
This commit is contained in:
parent
d43f879b36
commit
b62cf10f1f
10 changed files with 20 additions and 0 deletions
|
@ -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; \
|
||||||
|
|
|
@ -1 +1,3 @@
|
||||||
|
#pragma once
|
||||||
|
|
||||||
int cli_command_ci(int argc, char **argv);
|
int cli_command_ci(int argc, char **argv);
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -1 +1,3 @@
|
||||||
|
#pragma once
|
||||||
|
|
||||||
int cli_command_config(int argc, char **argv);
|
int cli_command_config(int argc, char **argv);
|
||||||
|
|
|
@ -1 +1,3 @@
|
||||||
|
#pragma once
|
||||||
|
|
||||||
int cli_command_init(int argc, char **argv);
|
int cli_command_init(int argc, char **argv);
|
||||||
|
|
|
@ -1 +1,3 @@
|
||||||
|
#pragma once
|
||||||
|
|
||||||
int cli_command_provider(int argc, char **argv);
|
int cli_command_provider(int argc, char **argv);
|
||||||
|
|
|
@ -1 +1,3 @@
|
||||||
|
#pragma once
|
||||||
|
|
||||||
int cli_command_push(int argc, char **argv);
|
int cli_command_push(int argc, char **argv);
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|
||||||
#define ASSERT_CONFIG_EXIST(cfg) \
|
#define ASSERT_CONFIG_EXIST(cfg) \
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue