[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 05/18] vm/vm_pageout.c: remove forward declarations
From: |
Marin Ramesa |
Subject: |
[PATCH 05/18] vm/vm_pageout.c: remove forward declarations |
Date: |
Fri, 6 Dec 2013 16:29:47 +0100 |
* vm/vm_pageout.c (vm_pageout_continue, vm_pageout_scan_continue): Remove
forward declarations.
* vm/vm_pageout.h (vm_pageout_continue, vm_pageout_scan_continue): Add
prototypes.
---
vm/vm_pageout.c | 3 ---
vm/vm_pageout.h | 4 ++++
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/vm/vm_pageout.c b/vm/vm_pageout.c
index 38195ad..46ba56b 100644
--- a/vm/vm_pageout.c
+++ b/vm/vm_pageout.c
@@ -159,9 +159,6 @@
#define VM_PAGEOUT_RESERVED_REALLY(reserve) ((reserve) - 40)
#endif /* VM_PAGEOUT_RESERVED_REALLY */
-extern void vm_pageout_continue();
-extern void vm_pageout_scan_continue();
-
unsigned int vm_pageout_reserved_internal = 0;
unsigned int vm_pageout_reserved_really = 0;
diff --git a/vm/vm_pageout.h b/vm/vm_pageout.h
index 90e45a7..7e3e4e4 100644
--- a/vm/vm_pageout.h
+++ b/vm/vm_pageout.h
@@ -46,4 +46,8 @@ extern void vm_pageout_page(vm_page_t, boolean_t, boolean_t);
extern void vm_pageout(void);
+extern void vm_pageout_continue(void);
+
+extern void vm_pageout_scan_continue(void);
+
#endif /* _VM_VM_PAGEOUT_H_ */
--
1.8.1.4
- [PATCH 01/18] ddb/db_output.c: remove forward declaration, Marin Ramesa, 2013/12/06
- [PATCH 04/18] i386/i386at/pic_isa.c: remove forward declaration, Marin Ramesa, 2013/12/06
- [PATCH 03/18] i386/i386at/model_dep.c: fix argument list, Marin Ramesa, 2013/12/06
- [PATCH 05/18] vm/vm_pageout.c: remove forward declarations,
Marin Ramesa <=
- [PATCH 06/18] vm/vm_object.c: remove unused variable, Marin Ramesa, 2013/12/06
- [PATCH 07/18] vm/vm_map.c: use boolean instead of an int, Marin Ramesa, 2013/12/06
- [PATCH 02/18] i386/i386at/lpr.c: fix argument list, Marin Ramesa, 2013/12/06
- [PATCH 08/18] kern/boot_script.c: move struct definitions to a header file, Marin Ramesa, 2013/12/06
- [PATCH 09/18] kern/bootstrap.c: move struct definition to a header file, Marin Ramesa, 2013/12/06
- [PATCH 10/18] kern/startup.c: use boolean values, Marin Ramesa, 2013/12/06
- [PATCH 12/18] kern/debug.c: fix implicit declaration of function, Marin Ramesa, 2013/12/06