diff options
| author | Fuwn <[email protected]> | 2022-02-03 10:54:07 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2022-02-03 10:54:07 +0000 |
| commit | 0182a1d2096ef89a04e5f1b457bdf6923c1d642a (patch) | |
| tree | 57589bd2f23eba498cec14023d7bc27da94ad96e | |
| parent | chore: migrate to cmkr (diff) | |
| download | viv-0182a1d2096ef89a04e5f1b457bdf6923c1d642a.tar.xz viv-0182a1d2096ef89a04e5f1b457bdf6923c1d642a.zip | |
fmt(source): refactor include method
| -rw-r--r-- | viv/cli.c | 10 | ||||
| -rw-r--r-- | viv/dynamic_array.c | 2 | ||||
| -rw-r--r-- | viv/flag.c | 2 | ||||
| -rw-r--r-- | viv/gemini.c | 6 | ||||
| -rw-r--r-- | viv/log.c | 4 | ||||
| -rw-r--r-- | viv/ssl.c | 6 | ||||
| -rw-r--r-- | viv/ui.c | 2 | ||||
| -rw-r--r-- | viv/viv.c | 14 |
8 files changed, 23 insertions, 23 deletions
@@ -1,14 +1,14 @@ /* Copyright (C) 2021-2021 Fuwn * SPDX-License-Identifier: GPL-3.0-only */ -#include "viv/cli.h" +#include <viv/cli.h> #include <stdlib.h> -#include "viv/flag.h" -#include "viv/gemini.h" -#include "viv/log.h" -#include "viv/viv.h" +#include <viv/flag.h> +#include <viv/gemini.h> +#include <viv/log.h> +#include <viv/viv.h> CLI_handle CLI_cli(int argc, const char *argv[]) { CLI_handle cli_handle; diff --git a/viv/dynamic_array.c b/viv/dynamic_array.c index 6df62de..9c1d09d 100644 --- a/viv/dynamic_array.c +++ b/viv/dynamic_array.c @@ -1,6 +1,6 @@ /* http://www.martinbroadhurst.com/dynamic-array-in-c.html */ -#include "viv/dynamic_array.h" +#include <viv/dynamic_array.h> #include <stdlib.h> #include <string.h> @@ -3,4 +3,4 @@ #define FLAG_IMPLEMENTATION -#include "viv/flag.h" +#include <viv/flag.h> diff --git a/viv/gemini.c b/viv/gemini.c index 9c30ea7..7d8ef28 100644 --- a/viv/gemini.c +++ b/viv/gemini.c @@ -1,13 +1,13 @@ /* Copyright (C) 2021-2021 Fuwn * SPDX-License-Identifier: GPL-3.0-only */ -#include "viv/gemini.h" +#include <viv/gemini.h> #include <stdlib.h> #include <string.h> -#include "viv/log.h" -#include "viv/viv.h" +#include <viv/log.h> +#include <viv/viv.h> void GEMINI_parse_header( const char *header, @@ -1,14 +1,14 @@ /* Copyright (C) 2021-2021 Fuwn * SPDX-License-Identifier: GPL-3.0-only */ -#include "viv/log.h" +#include <viv/log.h> #include <stdarg.h> #include <stdio.h> #include <stdlib.h> #include <string.h> -#include "viv/viv.h" +#include <viv/viv.h> int VIV_LOG_log(VIV_LOG_level level, const char *format, ...) { FILE *log_file; @@ -1,7 +1,7 @@ /* Copyright (C) 2021-2021 Fuwn * SPDX-License-Identifier: GPL-3.0-only */ -#include "viv/ssl.h" +#include <viv/ssl.h> #include <arpa/inet.h> #include <malloc.h> @@ -11,8 +11,8 @@ #include <strings.h> #include <unistd.h> -#include "viv/log.h" -#include "viv/viv.h" +#include <viv/log.h> +#include <viv/viv.h> VIV_SSL_connection_context VIV_SSL_open_connection(const char **hostname, int port) { VIV_SSL_connection_context connection_context; @@ -3,7 +3,7 @@ /* NOTE: This source file contains *lots* of filler and testing code! */ -#include "viv/ui.h" +#include <viv/ui.h> #include <menu.h> #include <stdlib.h> @@ -1,7 +1,7 @@ /* Copyright (C) 2021-2021 Fuwn * SPDX-License-Identifier: GPL-3.0-only */ -#include "viv/viv.h" +#include <viv/viv.h> #include <stdbool.h> #include <netdb.h> @@ -10,12 +10,12 @@ #include <string.h> #include <unistd.h> -#include "viv/dynamic_array.h" -#include "viv/cli.h" -#include "viv/gemini.h" -#include "viv/log.h" -#include "viv/ssl.h" -#include "viv/ui.h" +#include <viv/dynamic_array.h> +#include <viv/cli.h> +#include <viv/gemini.h> +#include <viv/log.h> +#include <viv/ssl.h> +#include <viv/ui.h> int main(int argc, char *argv[]) { CLI_handle cli_handle; |