From patchwork Sun Jun 22 12:49:46 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gregor Jasny X-Patchwork-Id: 4396051 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 2FDCF9F26E for ; Sun, 22 Jun 2014 12:50:30 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5D4F32026C for ; Sun, 22 Jun 2014 12:50:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6858B20268 for ; Sun, 22 Jun 2014 12:50:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751516AbaFVMu0 (ORCPT ); Sun, 22 Jun 2014 08:50:26 -0400 Received: from mail-wg0-f42.google.com ([74.125.82.42]:57705 "EHLO mail-wg0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750977AbaFVMu0 (ORCPT ); Sun, 22 Jun 2014 08:50:26 -0400 Received: by mail-wg0-f42.google.com with SMTP id z12so5448184wgg.25 for ; Sun, 22 Jun 2014 05:50:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=HuE6ywH8oGV92xqUNtg9jWyxBc+zOPvnfu0WA1TAXsM=; b=njBdz6qb6IpeXhU3IIXKjBEN/NioiwVr6R+/gedsx0ZCz7VGrMt1Bv0pcAT+w8rgBK mPCF8jZp68nfGAnVrw4tynS1k5yJ1/C5pSfNzZciqvBYCeqD+WFEweUakvIAxTI+vpSr vPJnOsTwh8p/5MK4ULDj1S+4pFVxrrFPcstmb3fopDWpkpJP5RiqrZl4SKnUHL5NU0Wx gPuxBIvVLp6MmmhewTa6fnUIwfoN/cYoVMKUdI/aQY5rNJK4sVa9dNGiKkOA86d/s0Bn 20AKzjOYVerqp1L68DTsjk/JkR98Hh7XFiwr7W0HA0L/XM++dFZADpzr6q+qG2WkBS3O z+4A== X-Received: by 10.180.100.41 with SMTP id ev9mr18327217wib.22.1403441424833; Sun, 22 Jun 2014 05:50:24 -0700 (PDT) Received: from sid.home (95-91-218-78-dynip.superkabel.de. [95.91.218.78]) by mx.google.com with ESMTPSA id o2sm23324087wia.16.2014.06.22.05.50.23 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 22 Jun 2014 05:50:23 -0700 (PDT) From: Gregor Jasny To: linux-media@vger.kernel.org Cc: Gregor Jasny Subject: [PATCH 1/2] Hide parse_string.h content in shared library interface Date: Sun, 22 Jun 2014 14:49:46 +0200 Message-Id: <1403441387-31604-2-git-send-email-gjasny@googlemail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1403441387-31604-1-git-send-email-gjasny@googlemail.com> References: <1403441387-31604-1-git-send-email-gjasny@googlemail.com> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Gregor Jasny --- lib/libdvbv5/parse_string.h | 8 ++++++++ 1 file changed, 8 insertions(+) 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