From patchwork Sat Jul 7 18:53:25 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emil Goode X-Patchwork-Id: 1168921 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 62D233FE4F for ; Sat, 7 Jul 2012 18:51:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751265Ab2GGSvN (ORCPT ); Sat, 7 Jul 2012 14:51:13 -0400 Received: from mail-lb0-f174.google.com ([209.85.217.174]:41422 "EHLO mail-lb0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751031Ab2GGSvM (ORCPT ); Sat, 7 Jul 2012 14:51:12 -0400 Received: by lbbgm6 with SMTP id gm6so17365928lbb.19 for ; Sat, 07 Jul 2012 11:51:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer; bh=qHY+VzrkszlhngaIOnEb+JApMFMgTokGmL44ccUeYHs=; b=jDGX0plCar+v3d6FK+PZuV2fA+8mpzR36O4rhqTjoe4BOKWfXngGI8IHSfBokcxguN 9RZhIQTpLXNrKNEomvgMnfCMRZliQ4Hmx3LGzoEp5QQouRdADuZd/E/s1InlPyOAtoVt TLNczOx2kIBrBAvi1IXYBMzsjCJEWFcglqGuRRxB2bbtMRUJ1xLyCkCiSFjFncFU27GA TrUG5SlImz+F20ubggW+nmGkBgSR1VEqIojtGEk1NiIWRcHyGx2IEhQ6ZLVTGEX5W6MB ZVzyUAYdL3q+Pk8Mt5pfcVsIhIAOT70glodZBx1KQSxlFW+rVRH05YKLjKN1g/9iuS4P ZuLQ== Received: by 10.152.111.200 with SMTP id ik8mr34340333lab.15.1341687070809; Sat, 07 Jul 2012 11:51:10 -0700 (PDT) Received: from localhost.localdomain (2.64.11.103.mobile.tre.se. [2.64.11.103]) by mx.google.com with ESMTPS id ta2sm42325609lab.15.2012.07.07.11.51.08 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 07 Jul 2012 11:51:09 -0700 (PDT) From: Emil Goode To: jarod@wilsonet.com, mchehab@infradead.org, gregkh@linuxfoundation.org, rusty@rustcorp.com.au, davej@redhat.com Cc: linux-media@vger.kernel.org, devel@driverdev.osuosl.org, kernel-janitors@vger.kernel.org, Emil Goode Subject: [PATCH] lirc: fix non-ANSI function declaration warning Date: Sat, 7 Jul 2012 20:53:25 +0200 Message-Id: <1341687205-21963-1-git-send-email-emilgoode@gmail.com> X-Mailer: git-send-email 1.7.10.4 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Sparse is warning about non-ANSI function declaration. Add void to the parameterless function. drivers/staging/media/lirc/lirc_bt829.c:174:22: warning: non-ANSI function declaration of function 'poll_main' Signed-off-by: Emil Goode --- drivers/staging/media/lirc/lirc_bt829.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/media/lirc/lirc_bt829.c b/drivers/staging/media/lirc/lirc_bt829.c index 4d20e9f..951007a 100644 --- a/drivers/staging/media/lirc/lirc_bt829.c +++ b/drivers/staging/media/lirc/lirc_bt829.c @@ -171,7 +171,7 @@ static void cycle_delay(int cycle) } -static int poll_main() +static int poll_main(void) { unsigned char status_high, status_low;