diff --git a/src/cli/cli.h b/src/cli/cli.h index 6d76183..87dbb0a 100644 --- a/src/cli/cli.h +++ b/src/cli/cli.h @@ -1,3 +1,5 @@ +#pragma once + #define HANDLE_OPTIONS(argc, argv, optstring, ...) \ int opt; \ opterr = 0; \ diff --git a/src/cli/command/ci/ci.h b/src/cli/command/ci/ci.h index 0f7da66..15bc6f3 100644 --- a/src/cli/command/ci/ci.h +++ b/src/cli/command/ci/ci.h @@ -1 +1,3 @@ +#pragma once + int cli_command_ci(int argc, char **argv); diff --git a/src/cli/command/ci/github.h b/src/cli/command/ci/github.h index 4bccee9..9a8be7d 100644 --- a/src/cli/command/ci/github.h +++ b/src/cli/command/ci/github.h @@ -1,3 +1,5 @@ +#pragma once + #include #include #include diff --git a/src/cli/command/ci/sourcehut.h b/src/cli/command/ci/sourcehut.h index 410c715..eae9650 100644 --- a/src/cli/command/ci/sourcehut.h +++ b/src/cli/command/ci/sourcehut.h @@ -1,3 +1,5 @@ +#pragma once + #include #include #include diff --git a/src/cli/command/config.h b/src/cli/command/config.h index 4d19c8e..ffe8d10 100644 --- a/src/cli/command/config.h +++ b/src/cli/command/config.h @@ -1 +1,3 @@ +#pragma once + int cli_command_config(int argc, char **argv); diff --git a/src/cli/command/init.h b/src/cli/command/init.h index 2be267b..631d1e8 100644 --- a/src/cli/command/init.h +++ b/src/cli/command/init.h @@ -1 +1,3 @@ +#pragma once + int cli_command_init(int argc, char **argv); diff --git a/src/cli/command/provider.h b/src/cli/command/provider.h index d9abdd7..0a986cf 100644 --- a/src/cli/command/provider.h +++ b/src/cli/command/provider.h @@ -1 +1,3 @@ +#pragma once + int cli_command_provider(int argc, char **argv); diff --git a/src/cli/command/push.h b/src/cli/command/push.h index b772188..a764a25 100644 --- a/src/cli/command/push.h +++ b/src/cli/command/push.h @@ -1 +1,3 @@ +#pragma once + int cli_command_push(int argc, char **argv); diff --git a/src/config.h b/src/config.h index 6f44b41..af28c2d 100644 --- a/src/config.h +++ b/src/config.h @@ -1,3 +1,5 @@ +#pragma once + #include #define ASSERT_CONFIG_EXIST(cfg) \ diff --git a/src/gimi_constants.h b/src/gimi_constants.h index ae8ad72..f718b79 100644 --- a/src/gimi_constants.h +++ b/src/gimi_constants.h @@ -1,3 +1,5 @@ +#pragma once + // Do not edit manually! Generated by cmake #define GIMI_VERSION_MAJOR 0 #define GIMI_VERSION_MINOR 1