diff mbox

[1/2] Hide parse_string.h content in shared library interface

Message ID 1403441387-31604-2-git-send-email-gjasny@googlemail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Gregor Jasny June 22, 2014, 12:49 p.m. UTC
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
---
 lib/libdvbv5/parse_string.h | 8 ++++++++
 1 file changed, 8 insertions(+)
diff mbox

Patch

diff --git a/lib/libdvbv5/parse_string.h b/lib/libdvbv5/parse_string.h
index 61d0ed4..39f7dc4 100644
--- a/lib/libdvbv5/parse_string.h
+++ b/lib/libdvbv5/parse_string.h
@@ -17,6 +17,10 @@ 
  * Or, point your browser to http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
  */
 
+#if HAVE_VISIBILITY
+#pragma GCC visibility push(hidden)
+#endif
+
 struct dvb_v5_fe_parms;
 
 void iconv_to_charset(struct dvb_v5_fe_parms *parms,
@@ -29,3 +33,7 @@  void iconv_to_charset(struct dvb_v5_fe_parms *parms,
 void parse_string(struct dvb_v5_fe_parms *parms, char **dest, char **emph,
 		  const unsigned char *src, size_t len,
 		  char *default_charset, char *output_charset);
+
+#if HAVE_VISIBILITY
+#pragma GCC visibility pop
+#endif