From fb3cdd16f2f89f535f66531c3f811af8f0f0428b Mon Sep 17 00:00:00 2001 From: Chi Pham Date: Thu, 3 Jul 2014 15:03:59 +0200 Subject: [PATCH] staging: ced1401: Add void declarations in zero-arg functions. Added explicit void declarations to zero-argument function headers. The following coccinelle script was used: @addvoid@ identifier f; @@ f( + void ) { ... } Signed-off-by: Chi Pham Signed-off-by: Greg Kroah-Hartman --- drivers/staging/ced1401/userspace/use1401.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/ced1401/userspace/use1401.c b/drivers/staging/ced1401/userspace/use1401.c index 9ebddbd07e8d..d589311f1528 100644 --- a/drivers/staging/ced1401/userspace/use1401.c +++ b/drivers/staging/ced1401/userspace/use1401.c @@ -376,7 +376,7 @@ static short U14Control1401(short sHand, LONG lCode, TCSBLOCK* pBlk) ** SafeTickCount ** Gets time in approximately units of a millisecond. *****************************************************************************/ -static long SafeTickCount() +static long SafeTickCount(void) { #ifdef _IS_WINDOWS_ return GetTickCount(); -- 2.30.2