From 4dd1a24af692f343a8087f910b3d073c6005d2c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Sat, 12 Jan 2019 11:47:30 +0100 Subject: [PATCH] config: sort includes, add comment --- config.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/config.h b/config.h index 762e7fb..c659e0c 100644 --- a/config.h +++ b/config.h @@ -1,12 +1,16 @@ #pragma once #include "bar.h" -#include "yml.h" #include "font.h" #include "particle.h" +#include "yml.h" bool conf_verify_bar(const struct yml_node *bar); struct bar *conf_to_bar(const struct yml_node *bar); +/* + * Utility functions, for e.g. modules + */ + struct particle * conf_to_particle( const struct yml_node *node, const struct font *parent_font);