22 lines
663 B
Diff
22 lines
663 B
Diff
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;
|
|
|
|
-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);
|
|
|
|
void libconfig_strbuf_append_char(strbuf_t *buf, char c);
|
|
|
|
|