Browse Source

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 <fempsci@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Chi Pham 11 years ago
parent
commit
fb3cdd16f2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/staging/ced1401/userspace/use1401.c

+ 1 - 1
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();