To appease the clang 15 warning -Wdeprecated-non-prototype (turned on
by -Wall). ok millert@
-/* $OpenBSD: pxe.c,v 1.7 2016/03/06 22:41:24 naddy Exp $ */
+/* $OpenBSD: pxe.c,v 1.8 2022/12/27 07:34:05 jca Exp $ */
/* $NetBSD: pxe.c,v 1.5 2003/03/11 18:29:00 drochner Exp $ */
/*
}
void
-pxe_netif_close(sock)
- int sock;
+pxe_netif_close(int sock)
{
t_PXENV_UDP_CLOSE *uc = (void *) pxe_command_buf;
}
struct iodesc *
-pxesocktodesc(sock)
- int sock;
+pxesocktodesc(int sock)
{
#ifdef NETIF_DEBUG
-/* $OpenBSD: pxe.c,v 1.7 2016/03/07 05:32:47 naddy Exp $ */
+/* $OpenBSD: pxe.c,v 1.8 2022/12/27 07:34:05 jca Exp $ */
/* $NetBSD: pxe.c,v 1.5 2003/03/11 18:29:00 drochner Exp $ */
/*
}
void
-pxe_netif_close(sock)
- int sock;
+pxe_netif_close(int sock)
{
t_PXENV_UDP_CLOSE *uc = (void *) pxe_command_buf;
}
struct iodesc *
-pxesocktodesc(sock)
- int sock;
+pxesocktodesc(int sock)
{
#ifdef NETIF_DEBUG
-/* $OpenBSD: netif.c,v 1.13 2021/10/25 15:59:46 patrick Exp $ */
+/* $OpenBSD: netif.c,v 1.14 2022/12/27 07:34:05 jca Exp $ */
/* $NetBSD: netif.c,v 1.7 1996/10/13 02:29:03 christos Exp $ */
/*
}
struct iodesc *
-socktodesc(sock)
- int sock;
+socktodesc(int sock)
{
if (sock >= SOPEN_MAX) {
errno = EBADF;