]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: ced1401: Add void declarations in zero-arg functions.
authorChi Pham <fempsci@gmail.com>
Thu, 3 Jul 2014 13:03:59 +0000 (15:03 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 Jul 2014 23:01:47 +0000 (16:01 -0700)
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 <fempsci@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ced1401/userspace/use1401.c

index 9ebddbd07e8df2c49f0ccc860d4f3dd8de431dc4..d589311f1528745d532f0482467dfb372ed67e63 100644 (file)
@@ -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();