summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2015-05-08 23:27:21 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2015-05-08 23:27:21 +0200
commit29db25810244d06cf7729fa3de90d5528f8c2ef3 (patch)
treea2d27a9cbeb9c57c6666757ee5a3daf1be289f95
parent879ece1516de1ae335d3843c4f54dc653c4b3944 (diff)
downloadxK-29db25810244d06cf7729fa3de90d5528f8c2ef3.tar.gz
xK-29db25810244d06cf7729fa3de90d5528f8c2ef3.tar.xz
xK-29db25810244d06cf7729fa3de90d5528f8c2ef3.zip
degesch: don't export schemas (make them static)
-rw-r--r--degesch.c6
1 files 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)