[PATCH weston] config-parser: Export weston_config_next_section

Emmanuel Gil Peyrot emmanuel.peyrot at collabora.com
Tue Feb 21 11:58:20 UTC 2017


This symbol wasn’t exported from the weston binary, most likely due to
an oversight in 6e2c12496bbef3cc913cfe9d5f0aeb4d8b23b368, and because
internal modules can link against libshared.la directly it hasn’t been
found ever since.

This commit makes it possible for external modules to iterate over the
configuration file.

Signed-off-by: Emmanuel Gil Peyrot <emmanuel.peyrot at collabora.com>
---
 shared/config-parser.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/shared/config-parser.c b/shared/config-parser.c
index e2b5fa25..2a595b1f 100644
--- a/shared/config-parser.c
+++ b/shared/config-parser.c
@@ -490,6 +490,7 @@ weston_config_get_full_path(struct weston_config *config)
 	return config == NULL ? NULL : config->path;
 }
 
+WL_EXPORT
 int
 weston_config_next_section(struct weston_config *config,
 			   struct weston_config_section **section,
-- 
2.11.1



More information about the wayland-devel mailing list