diff mbox series

[libubootenv,RFC] uboot_env: Make consume_event static

Message ID 0943CF03-2987-4C4A-AE0E-B503D823E85D@siemens.com
State Accepted
Headers show
Series [libubootenv,RFC] uboot_env: Make consume_event static | expand

Commit Message

Storm, Christian Nov. 29, 2023, 8:32 p.m. UTC
consume_event() is only used locally in the same compilation
unit and needn't be exported.

Signed-off-by: Christian Storm <christian.storm@siemens.com>
---
 src/uboot_env.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/src/uboot_env.c b/src/uboot_env.c
index 367d349..bb14cab 100644
--- a/src/uboot_env.c
+++ b/src/uboot_env.c
@@ -860,7 +860,7 @@  static int libuboot_load(struct uboot_ctx *ctx)
 	return ctx->valid ? 0 : -ENODATA;
 }
 
-int consume_event(struct parser_state *s, yaml_event_t *event)
+static int consume_event(struct parser_state *s, yaml_event_t *event)
 {
 	char *value;
 	struct uboot_flash_env *dev;