From 29db25810244d06cf7729fa3de90d5528f8c2ef3 Mon Sep 17 00:00:00 2001 From: Přemysl Janouch Date: Fri, 8 May 2015 23:27:21 +0200 Subject: degesch: don't export schemas (make them static) --- degesch.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/degesch.c b/degesch.c index e066edf..579a355 100644 --- a/degesch.c +++ b/degesch.c @@ -1231,7 +1231,7 @@ config_validate_nonnegative return false; } -struct config_schema g_config_server[] = +static struct config_schema g_config_server[] = { { .name = "nickname", .comment = "IRC nickname", @@ -1305,7 +1305,7 @@ struct config_schema g_config_server[] = {} }; -struct config_schema g_config_behaviour[] = +static struct config_schema g_config_behaviour[] = { { .name = "isolate_buffers", .comment = "Don't leak messages from the server and global buffers", @@ -1314,7 +1314,7 @@ struct config_schema g_config_behaviour[] = {} }; -struct config_schema g_config_attributes[] = +static struct config_schema g_config_attributes[] = { #define XX(x, y, z) { .name = y, .comment = z, .type = CONFIG_ITEM_STRING }, ATTR_TABLE (XX) -- cgit v1.2.3-70-g09d2