Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/sys tidy up
details: https://anonhg.NetBSD.org/src/rev/601377c3298c
branches: trunk
changeset: 831178:601377c3298c
user: christos <christos%NetBSD.org@localhost>
date: Thu Mar 15 03:22:23 2018 +0000
description:
tidy up
diffstat:
sys/compat/sys/uvm.h | 29 +++++++++++++++++------------
1 files changed, 17 insertions(+), 12 deletions(-)
diffs (47 lines):
diff -r 266c58827ae9 -r 601377c3298c sys/compat/sys/uvm.h
--- a/sys/compat/sys/uvm.h Thu Mar 15 03:21:58 2018 +0000
+++ b/sys/compat/sys/uvm.h Thu Mar 15 03:22:23 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm.h,v 1.1 2018/03/15 03:13:51 christos Exp $ */
+/* $NetBSD: uvm.h,v 1.2 2018/03/15 03:22:23 christos Exp $ */
/*-
* Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -32,17 +32,6 @@
#ifndef _COMPAT_SYS_UVM_H_
#define _COMPAT_SYS_UVM_H_
-void uvm_13_init(void);
-void uvm_50_init(void);
-void uvm_13_fini(void);
-void uvm_50_fini(void);
-
-struct sys_swapctl_args;
-
-int (*uvm_swap_stats13)(const struct sys_swapctl_args *, register_t *);
-int (*uvm_swap_stats50)(const struct sys_swapctl_args *, register_t *);
-
-#endif /* _COMPAT_SYS_UVM_H_ */
/*
* NetBSD 1.3 swapctl(SWAP_STATS, ...) swapent structure; uses 32 bit
* dev_t and has no se_path[] member.
@@ -67,3 +56,19 @@
int se50_priority; /* priority of this device */
char se50_path[PATH_MAX+1]; /* path name */
};
+
+__BEGIN_DECLS
+
+void uvm_13_init(void);
+void uvm_50_init(void);
+void uvm_13_fini(void);
+void uvm_50_fini(void);
+
+struct sys_swapctl_args;
+
+extern int (*uvm_swap_stats13)(const struct sys_swapctl_args *, register_t *);
+extern int (*uvm_swap_stats50)(const struct sys_swapctl_args *, register_t *);
+
+__END_DECLS
+
+#endif /* _COMPAT_SYS_UVM_H_ */
Home |
Main Index |
Thread Index |
Old Index