From d4ed21cc6a376623ee774b5ea3eb899bda2e69d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Thu, 22 Sep 2022 13:47:41 +0800 Subject: Merge config.h as it's too small --- config.h | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 config.h (limited to 'config.h') diff --git a/config.h b/config.h deleted file mode 100644 index 939d86b..0000000 --- a/config.h +++ /dev/null @@ -1,10 +0,0 @@ -#include - -static inline void config_getscopes(const char *scope_path, char **scopes) -{ - FILE *fp = fopen(scope_path, "r"); - toml_table_t* toml = toml_parse_file(fp, NULL, 0); - fclose(fp); - *scopes = toml_string_in(toml, "scopes").u.s; - toml_free(toml); -} -- cgit v1.2.3