libconfig/add-to-strbuf_append_string.patch

22 lines
663 B
Diff
Raw Normal View History

2019-09-30 10:55:16 -04:00
From 8e2d7fd1824aa5b864eccbe53dbf54dd43542511 Mon Sep 17 00:00:00 2001
From: sunguoshuai <sunguoshuai@huawei.com>
Date: Fri, 29 Mar 2019 04:33:45 -0400
Subject: [PATCH] libconfig: add to strbuf_append_string
reason: add to strbuf_append_string
diff --git a/lib/strbuf.h b/lib/strbuf.h
index c27b21c..ab03a75 100644
--- a/lib/strbuf.h
+++ b/lib/strbuf.h
@@ -33,7 +33,7 @@ typedef struct
size_t capacity;
} strbuf_t;
2021-12-30 14:31:26 +08:00
-void libconfig_strbuf_append_string(strbuf_t *buf, const char *s);
+__attribute__ ((visibility("hidden"))) void libconfig_strbuf_append_string(strbuf_t *buf, const char *s);
2019-09-30 10:55:16 -04:00
2021-12-30 14:31:26 +08:00
void libconfig_strbuf_append_char(strbuf_t *buf, char c);
2019-09-30 10:55:16 -04:00