Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/pgoyette-compat]: src/sys/compat Make compat_ifconf() and compat_ifdatar...
details: https://anonhg.NetBSD.org/src/rev/254e67227a7e
branches: pgoyette-compat
changeset: 830561:254e67227a7e
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Sun Apr 15 06:23:31 2018 +0000
description:
Make compat_ifconf() and compat_ifdatareq() static
diffstat:
sys/compat/common/uipc_syscalls_40.c | 6 +++---
sys/compat/sys/sockio.h | 7 +------
2 files changed, 4 insertions(+), 9 deletions(-)
diffs (45 lines):
diff -r 40ac3aa27697 -r 254e67227a7e sys/compat/common/uipc_syscalls_40.c
--- a/sys/compat/common/uipc_syscalls_40.c Thu Apr 12 22:33:41 2018 +0000
+++ b/sys/compat/common/uipc_syscalls_40.c Sun Apr 15 06:23:31 2018 +0000
@@ -1,9 +1,9 @@
-/* $NetBSD: uipc_syscalls_40.c,v 1.15.2.6 2018/04/12 22:33:41 pgoyette Exp $ */
+/* $NetBSD: uipc_syscalls_40.c,v 1.15.2.7 2018/04/15 06:23:31 pgoyette Exp $ */
/* written by Pavel Cahyna, 2006. Public domain. */
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uipc_syscalls_40.c,v 1.15.2.6 2018/04/12 22:33:41 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uipc_syscalls_40.c,v 1.15.2.7 2018/04/15 06:23:31 pgoyette Exp $");
/*
* System call interface to the socket abstraction.
@@ -31,7 +31,7 @@
* other information.
*/
/*ARGSUSED*/
-int
+static int
compat_ifconf(u_long cmd, void *data)
{
struct oifconf *ifc = data;
diff -r 40ac3aa27697 -r 254e67227a7e sys/compat/sys/sockio.h
--- a/sys/compat/sys/sockio.h Thu Apr 12 22:33:41 2018 +0000
+++ b/sys/compat/sys/sockio.h Sun Apr 15 06:23:31 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sockio.h,v 1.10.58.2 2018/04/12 22:33:41 pgoyette Exp $ */
+/* $NetBSD: sockio.h,v 1.10.58.3 2018/04/15 06:23:31 pgoyette Exp $ */
/*-
* Copyright (c) 1982, 1986, 1990, 1993, 1994
@@ -186,11 +186,6 @@
void if_50_init(void);
void if_50_fini(void);
-__BEGIN_DECLS
-int compat_ifconf(u_long, void *);
-int compat_ifdatareq(struct lwp *, u_long, void *);
-__END_DECLS
-
#endif
#endif /* _COMPAT_SYS_SOCKIO_H_ */
Home |
Main Index |
Thread Index |
Old Index