Skip to contentSkip to conversation

staging: ced1401: fix non-ANSI function prototype.

PATCH New Cyril Roelandt 1 participant 1 message Aug 10, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 2/3 staging: ced1401: fix non-ANSI function prototype.

Add "void" to the parameterless function SafeTickCount().

---
 drivers/staging/ced1401/userspace/use1401.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/ced1401/userspace/use1401.c +1 -1
index c9bc2eb..7f39eb4 100644
@@ -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();
Signature · 1 line
1.8.3.1