Specify that the sock argument of socktodesc() is an int,
instead of letting it default to int.
This commit is contained in:
parent
72323ee0ff
commit
15bf553730
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: netio.c,v 1.15 2009/10/26 19:16:58 cegger Exp $ */
|
||||
/* $NetBSD: netio.c,v 1.16 2011/05/19 02:37:41 jakllsch Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
|
||||
@ -94,7 +94,7 @@ static struct iodesc desc;
|
||||
static int inited = 0;
|
||||
|
||||
struct iodesc *
|
||||
socktodesc(sock)
|
||||
socktodesc(int sock)
|
||||
{
|
||||
return &desc;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user