mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-04-25 13:25:39 +02:00
config: verify: config_verify_bar() -> conf_verify_bar()
This commit is contained in:
parent
d44db1a6a8
commit
3c870f759a
2 changed files with 2 additions and 1 deletions
2
config.c
2
config.c
|
@ -495,7 +495,7 @@ module_removables_from_config(const struct yml_node *node,
|
||||||
struct bar *
|
struct bar *
|
||||||
conf_to_bar(const struct yml_node *bar)
|
conf_to_bar(const struct yml_node *bar)
|
||||||
{
|
{
|
||||||
if (!config_verify_bar(bar))
|
if (!conf_verify_bar(bar))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
struct bar_config conf = {0};
|
struct bar_config conf = {0};
|
||||||
|
|
1
config.h
1
config.h
|
@ -5,6 +5,7 @@
|
||||||
#include "font.h"
|
#include "font.h"
|
||||||
#include "particle.h"
|
#include "particle.h"
|
||||||
|
|
||||||
|
bool conf_verify_bar(const struct yml_node *bar);
|
||||||
struct bar *conf_to_bar(const struct yml_node *bar);
|
struct bar *conf_to_bar(const struct yml_node *bar);
|
||||||
|
|
||||||
struct particle * conf_to_particle(
|
struct particle * conf_to_particle(
|
||||||
|
|
Loading…
Add table
Reference in a new issue