From 0560bb2f9f5009e08296acd916fda93e13aae2ac Mon Sep 17 00:00:00 2001 From: Fuwn Date: Thu, 3 Feb 2022 10:54:07 +0000 Subject: fmt(include): move pragmas --- include/viv/cli.h | 1 - include/viv/dynamic_array.h | 1 - include/viv/gemini.h | 1 - include/viv/log.h | 1 - include/viv/ssl.h | 1 - include/viv/ui.h | 1 - include/viv/viv.h | 1 - 7 files changed, 7 deletions(-) (limited to 'include') diff --git a/include/viv/cli.h b/include/viv/cli.h index 3445fcc..8dcee86 100644 --- a/include/viv/cli.h +++ b/include/viv/cli.h @@ -3,7 +3,6 @@ #ifndef VIV_CLI_H #define VIV_CLI_H - #pragma once #include diff --git a/include/viv/dynamic_array.h b/include/viv/dynamic_array.h index 40deac6..d7ab627 100644 --- a/include/viv/dynamic_array.h +++ b/include/viv/dynamic_array.h @@ -2,7 +2,6 @@ #ifndef VIV_DYNAMIC_ARRAY_H #define VIV_DYNAMIC_ARRAY_H - #pragma once typedef struct { diff --git a/include/viv/gemini.h b/include/viv/gemini.h index 2807ea4..4c043a2 100644 --- a/include/viv/gemini.h +++ b/include/viv/gemini.h @@ -3,7 +3,6 @@ #ifndef VIV_GEMINI_H #define VIV_GEMINI_H - #pragma once static const int GEMINI_port = 1965; diff --git a/include/viv/log.h b/include/viv/log.h index 2069160..687dd10 100644 --- a/include/viv/log.h +++ b/include/viv/log.h @@ -3,7 +3,6 @@ #ifndef VIV_LOG_H #define VIV_LOG_H - #pragma once #define KNRM "\x1B[0m" diff --git a/include/viv/ssl.h b/include/viv/ssl.h index 8e11d39..4711aa7 100644 --- a/include/viv/ssl.h +++ b/include/viv/ssl.h @@ -3,7 +3,6 @@ #ifndef VIV_SSL_H #define VIV_SSL_H - #pragma once /* https://stackoverflow.com/a/11405862/14452787 */ diff --git a/include/viv/ui.h b/include/viv/ui.h index 3b37a42..95c0737 100644 --- a/include/viv/ui.h +++ b/include/viv/ui.h @@ -3,7 +3,6 @@ #ifndef VIV_UI_H #define VIV_UI_H - #pragma once #include diff --git a/include/viv/viv.h b/include/viv/viv.h index 2bd2546..9dba22a 100644 --- a/include/viv/viv.h +++ b/include/viv/viv.h @@ -3,7 +3,6 @@ #ifndef VIV_VIV_H #define VIV_VIV_H - #pragma once typedef void(*split_fn)(const char *, int, void *); -- cgit v1.2.3