[Top][All Lists]

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

[PATCH 1/2] vm: remove the declaration of memory_object_create_proxy

From: Justus Winter
Subject: [PATCH 1/2] vm: remove the declaration of memory_object_create_proxy
Date: Thu, 16 Jan 2014 15:24:06 +0100

It is not clear to me why the declaration was put there in the first
place.  It is not used anywhere, and it conflicts with the declaration
generated by mig.

* vm/memory_object_proxy.h (memory_object_create_proxy): Remove declaration.
 vm/memory_object_proxy.h | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/vm/memory_object_proxy.h b/vm/memory_object_proxy.h
index 3de6996..dc0ea74 100644
--- a/vm/memory_object_proxy.h
+++ b/vm/memory_object_proxy.h
@@ -30,17 +30,6 @@
 extern void memory_object_proxy_init (void);
 extern boolean_t memory_object_proxy_notify (mach_msg_header_t *msg);
-extern kern_return_t memory_object_create_proxy (const ipc_space_t space,
-                                                 vm_prot_t max_protection,
-                                                 ipc_port_t *object,
-                                                 natural_t object_count,
-                                                 const vm_offset_t *offset,
-                                                 natural_t offset_count,
-                                                 const vm_offset_t *start,
-                                                 natural_t start_count,
-                                                 const vm_offset_t *len,
-                                                 natural_t len_count,
-                                                 ipc_port_t *port);
 extern kern_return_t memory_object_proxy_lookup (ipc_port_t port,
                                                  ipc_port_t *object,
                                                  vm_prot_t *max_protection);

reply via email to

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