From patchwork Mon Dec 7 12:42:48 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gerd Hoffmann X-Patchwork-Id: 40489 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id CB23AB6F09 for ; Tue, 8 Dec 2009 00:16:48 +1100 (EST) Received: from localhost ([127.0.0.1]:37121 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NHdSH-0001lA-Or for incoming@patchwork.ozlabs.org; Mon, 07 Dec 2009 08:16:45 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NHcwz-0005T6-2T for qemu-devel@nongnu.org; Mon, 07 Dec 2009 07:44:25 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NHcwt-0005No-C5 for qemu-devel@nongnu.org; Mon, 07 Dec 2009 07:44:23 -0500 Received: from [199.232.76.173] (port=58686 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NHcwp-0005MT-GE for qemu-devel@nongnu.org; Mon, 07 Dec 2009 07:44:16 -0500 Received: from mx1.redhat.com ([209.132.183.28]:60017) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NHcwp-0000hB-5G for qemu-devel@nongnu.org; Mon, 07 Dec 2009 07:44:15 -0500 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id nB7CiENX017757 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 7 Dec 2009 07:44:14 -0500 Received: from zweiblum.home.kraxel.org (vpn2-8-247.ams2.redhat.com [10.36.8.247]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id nB7Ci4hU004305; Mon, 7 Dec 2009 07:44:12 -0500 Received: by zweiblum.home.kraxel.org (Postfix, from userid 500) id BD4D370116; Mon, 7 Dec 2009 13:43:59 +0100 (CET) From: Gerd Hoffmann To: qemu-devel@nongnu.org Date: Mon, 7 Dec 2009 13:42:48 +0100 Message-Id: <1260189773-20728-17-git-send-email-kraxel@redhat.com> In-Reply-To: <1260189773-20728-1-git-send-email-kraxel@redhat.com> References: <1260189773-20728-1-git-send-email-kraxel@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Cc: Gerd Hoffmann , agraf@suse.de, lcapitulino@redhat.com Subject: [Qemu-devel] [FOR 0.12 PATCH v3 16/21] un-static qemu_chr_parse_compat() X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Signed-off-by: Gerd Hoffmann --- qemu-char.c | 2 +- qemu-char.h | 1 + 2 files changed, 2 insertions(+), 1 deletions(-) diff --git a/qemu-char.c b/qemu-char.c index da5c15c..c6008c3 100644 --- a/qemu-char.c +++ b/qemu-char.c @@ -2231,7 +2231,7 @@ static CharDriverState *qemu_chr_open_socket(QemuOpts *opts) return NULL; } -static QemuOpts *qemu_chr_parse_compat(const char *label, const char *filename) +QemuOpts *qemu_chr_parse_compat(const char *label, const char *filename) { char host[65], port[33], width[8], height[8]; int pos; diff --git a/qemu-char.h b/qemu-char.h index 9957db1..7fa8e5c 100644 --- a/qemu-char.h +++ b/qemu-char.h @@ -69,6 +69,7 @@ struct CharDriverState { QTAILQ_ENTRY(CharDriverState) next; }; +QemuOpts *qemu_chr_parse_compat(const char *label, const char *filename); CharDriverState *qemu_chr_open_opts(QemuOpts *opts, void (*init)(struct CharDriverState *s)); CharDriverState *qemu_chr_open(const char *label, const char *filename, void (*init)(struct CharDriverState *s));