From patchwork Mon Jan 18 16:30:02 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 8056111 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 836BCBEEE5 for ; Mon, 18 Jan 2016 16:27:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B850B204AE for ; Mon, 18 Jan 2016 16:27:51 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id D38A5204A9 for ; Mon, 18 Jan 2016 16:27:50 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 0ABD4265703; Mon, 18 Jan 2016 17:27:50 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 6494B2652C5; Mon, 18 Jan 2016 17:26:50 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id C789926501D; Mon, 18 Jan 2016 17:26:47 +0100 (CET) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by alsa0.perex.cz (Postfix) with ESMTP id 950A82651FE for ; Mon, 18 Jan 2016 17:26:30 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP; 18 Jan 2016 08:26:30 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,313,1449561600"; d="scan'208";a="893076074" Received: from vkoul-udesk7.iind.intel.com ([10.223.84.34]) by orsmga002.jf.intel.com with ESMTP; 18 Jan 2016 08:26:28 -0800 From: Vinod Koul To: alsa-devel@alsa-project.org Date: Mon, 18 Jan 2016 22:00:02 +0530 Message-Id: <1453134603-25356-3-git-send-email-vinod.koul@intel.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1453134603-25356-1-git-send-email-vinod.koul@intel.com> References: <1453134603-25356-1-git-send-email-vinod.koul@intel.com> Cc: tiwai@suse.de, Vinod Koul Subject: [alsa-devel] [PATCH 2/3] tinycompress: crec: fix function declaration X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP finish_record was not following ANSI standard for declaration as warned by sparse crec.c:193:26: warning: non-ANSI function declaration of function 'finish_record' Signed-off-by: Vinod Koul --- src/utils/crec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/crec.c b/src/utils/crec.c index e61e620d6490..6e8166d8f77b 100644 --- a/src/utils/crec.c +++ b/src/utils/crec.c @@ -190,7 +190,7 @@ static int print_time(struct compress *compress) return 0; } -static int finish_record() +static int finish_record(void) { struct wave_header header; int ret;