summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stone <daniels@collabora.com>2019-11-25 10:30:11 +0000
committerDaniel Stone <daniels@collabora.com>2019-11-25 12:27:08 +0000
commit3ef098fad1da217cec275e35c5e9f9131d00d0bb (patch)
tree971b375ca9b5da9c86b9c1118968d2dc5679e4a4
parent531b61c14a8e08661d26f25f75423d510b364da8 (diff)
downloadweston-3ef098fad1da217cec275e35c5e9f9131d00d0bb.tar.gz
weston-3ef098fad1da217cec275e35c5e9f9131d00d0bb.tar.bz2
weston-3ef098fad1da217cec275e35c5e9f9131d00d0bb.zip
config-parser: Export get_full_path and destroy
Make sure we export the get_full_path() accessor (declared in the header, used by Weston itself) and the parser's destroy function. Signed-off-by: Daniel Stone <daniels@collabora.com>
-rw-r--r--shared/config-parser.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/shared/config-parser.c b/shared/config-parser.c
index 297b0f70..6ea59cc1 100644
--- a/shared/config-parser.c
+++ b/shared/config-parser.c
@@ -470,6 +470,7 @@ weston_config_parse(const char *name)
return config;
}
+WL_EXPORT
const char *
weston_config_get_full_path(struct weston_config *config)
{
@@ -500,6 +501,7 @@ weston_config_next_section(struct weston_config *config,
return 1;
}
+WL_EXPORT
void
weston_config_destroy(struct weston_config *config)
{