vmnet: use void as argument list in function definitions (#188)
Two functions use "foo()" rather than proper "foo(void)" in their definitions and as reported, clang compiler treats it as an error. While at it, also mark VNetFreeInterfaceList() static to make its definition match the declaration.
This commit is contained in:
parent
c7b8102a9d
commit
288718e5f6
|
@ -1439,8 +1439,8 @@ VNetCycleDetectIf(const char *name, // IN:
|
|||
*----------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
void
|
||||
VNetFreeInterfaceList()
|
||||
static void
|
||||
VNetFreeInterfaceList(void)
|
||||
{
|
||||
while (vnetInterfaces != NULL) {
|
||||
VNetInterface *next = vnetInterfaces->next;
|
||||
|
|
|
@ -83,7 +83,7 @@
|
|||
*/
|
||||
|
||||
unsigned long SMACINT
|
||||
SMACL_GetUptime()
|
||||
SMACL_GetUptime(void)
|
||||
{
|
||||
return jiffies;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue