bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 49/68] vm/vm_map.c: remove forward declarations


From: Marin Ramesa
Subject: [PATCH 49/68] vm/vm_map.c: remove forward declarations
Date: Fri, 29 Nov 2013 22:54:14 +0100

* vm/vm_map.c (_vm_map_clip_start, _vm_map_copy_clip_start, _vm_map_clip_end, 
_vm_map_copy_clip_end): Remove forward declarations.
* vm/vm_map.h (_vm_map_clip_end): Correct prototype.  

---
 vm/vm_map.c | 4 ----
 vm/vm_map.h | 5 ++++-
 2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/vm/vm_map.c b/vm/vm_map.c
index 6e4544a..914741e 100644
--- a/vm/vm_map.c
+++ b/vm/vm_map.c
@@ -1031,14 +1031,12 @@ kern_return_t vm_map_enter(
  *     the specified address; if necessary,
  *     it splits the entry into two.
  */
-void _vm_map_clip_start();
 #define vm_map_clip_start(map, entry, startaddr) \
        MACRO_BEGIN \
        if ((startaddr) > (entry)->vme_start) \
                _vm_map_clip_start(&(map)->hdr,(entry),(startaddr)); \
        MACRO_END
 
-void _vm_map_copy_clip_start();
 #define vm_map_copy_clip_start(copy, entry, startaddr) \
        MACRO_BEGIN \
        if ((startaddr) > (entry)->vme_start) \
@@ -1086,14 +1084,12 @@ void _vm_map_clip_start(map_header, entry, start)
  *     the specified address; if necessary,
  *     it splits the entry into two.
  */
-void _vm_map_clip_end();
 #define vm_map_clip_end(map, entry, endaddr) \
        MACRO_BEGIN \
        if ((endaddr) < (entry)->vme_end) \
                _vm_map_clip_end(&(map)->hdr,(entry),(endaddr)); \
        MACRO_END
 
-void _vm_map_copy_clip_end();
 #define vm_map_copy_clip_end(copy, entry, endaddr) \
        MACRO_BEGIN \
        if ((endaddr) < (entry)->vme_end) \
diff --git a/vm/vm_map.h b/vm/vm_map.h
index 19317ac..b6bc177 100644
--- a/vm/vm_map.h
+++ b/vm/vm_map.h
@@ -555,6 +555,9 @@ extern void _vm_map_clip_start(
  *      the specified address; if necessary,
  *      it splits the entry into two.
  */
-void _vm_map_clip_end();
+void _vm_map_clip_end(
+       struct vm_map_header    *map_header,
+       vm_map_entry_t          entry,
+       vm_offset_t             end);
 
 #endif /* _VM_VM_MAP_H_ */
-- 
1.8.1.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]