[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/2] vm: remove the declaration of memory_object_create_proxy
From: |
Samuel Thibault |
Subject: |
Re: [PATCH 1/2] vm: remove the declaration of memory_object_create_proxy |
Date: |
Sun, 19 Jan 2014 21:01:34 +0100 |
User-agent: |
Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30) |
Justus Winter, le Thu 16 Jan 2014 15:24:06 +0100, a écrit :
> 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.
Ack.
> * 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);
> --
> 1.8.5.2
>
--
Samuel
Actually, typing random strings in the Finder does the equivalent of
filename completion.
(Discussion in comp.os.linux.misc on the intuitiveness of commands: file
completion vs. the Mac Finder.)