degesch: don't export schemas (make them static)

This commit is contained in:
Přemysl Eric Janouch 2015-05-08 23:27:21 +02:00
parent 879ece1516
commit 29db258102

View File

@ -1231,7 +1231,7 @@ config_validate_nonnegative
return false; return false;
} }
struct config_schema g_config_server[] = static struct config_schema g_config_server[] =
{ {
{ .name = "nickname", { .name = "nickname",
.comment = "IRC 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", { .name = "isolate_buffers",
.comment = "Don't leak messages from the server and global 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 }, #define XX(x, y, z) { .name = y, .comment = z, .type = CONFIG_ITEM_STRING },
ATTR_TABLE (XX) ATTR_TABLE (XX)