config-parser: Export get_full_path and destroy
authorDaniel Stone <daniels@collabora.com>
Mon, 25 Nov 2019 10:30:11 +0000 (10:30 +0000)
committerDaniel Stone <daniels@collabora.com>
Mon, 25 Nov 2019 12:27:08 +0000 (12:27 +0000)
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>
shared/config-parser.c

index 297b0f70a1de13cb7d1d9251f72c9139a75431c8..6ea59cc17532489d5c21325d45ff7303f8187737 100644 (file)
@@ -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)
 {