mirror of
https://github.com/chromium/crashpad.git
synced 2025-03-09 22:26:06 +00:00
Remove more unneeded MIG server stubs.
These were missed with the mig.py change in 6dd2be7c44a9c8bbea5df918e7ebe46d76da97df. Change-Id: I7ad066cd9425cab26e56a8b3dfb90f5f54a6648d Reviewed-on: https://chromium-review.googlesource.com/774999 Reviewed-by: Mark Mentovai <mark@chromium.org> Commit-Queue: Robert Sesek <rsesek@chromium.org>
This commit is contained in:
parent
6dd2be7c44
commit
f09257b17c
@ -18,25 +18,6 @@
|
||||
#include "util/mach/child_portServer.h"
|
||||
#include "util/mach/mach_message.h"
|
||||
|
||||
extern "C" {
|
||||
|
||||
// This function is not used, and is in fact obsoleted by the other
|
||||
// functionality implemented in this file. The standard MIG-generated
|
||||
// child_port_server() (in child_portServer.c) server dispatch routine usable
|
||||
// with the standard mach_msg_server() function calls out to this function.
|
||||
// child_port_server() is unused and is replaced by the more flexible
|
||||
// ChildPortServer, but the linker still needs to see this function definition.
|
||||
|
||||
kern_return_t handle_child_port_check_in(child_port_server_t server,
|
||||
child_port_token_t token,
|
||||
mach_port_t port,
|
||||
mach_msg_type_name_t right_type) {
|
||||
NOTREACHED();
|
||||
return KERN_FAILURE;
|
||||
}
|
||||
|
||||
} // extern "C"
|
||||
|
||||
namespace {
|
||||
|
||||
// There is no predefined constant for this.
|
||||
|
@ -18,46 +18,6 @@
|
||||
#include "util/mach/mach_message.h"
|
||||
#include "util/mach/notifyServer.h"
|
||||
|
||||
extern "C" {
|
||||
|
||||
// These five functions are not used, and are in fact obsoleted by the other
|
||||
// functionality implemented in this file. The standard MIG-generated
|
||||
// notify_server() (in notifyServer.c) server dispatch routine usable with the
|
||||
// standard mach_msg_server() function calls out to this function.
|
||||
// notify_server() is unused and is replaced by the more flexible NotifyServer,
|
||||
// but the linker still needs to see these five function definitions.
|
||||
|
||||
kern_return_t do_mach_notify_port_deleted(notify_port_t notify,
|
||||
mach_port_name_t name) {
|
||||
NOTREACHED();
|
||||
return KERN_FAILURE;
|
||||
}
|
||||
|
||||
kern_return_t do_mach_notify_port_destroyed(notify_port_t notify,
|
||||
mach_port_t rights) {
|
||||
NOTREACHED();
|
||||
return KERN_FAILURE;
|
||||
}
|
||||
|
||||
kern_return_t do_mach_notify_no_senders(notify_port_t notify,
|
||||
mach_port_mscount_t mscount) {
|
||||
NOTREACHED();
|
||||
return KERN_FAILURE;
|
||||
}
|
||||
|
||||
kern_return_t do_mach_notify_send_once(notify_port_t notify) {
|
||||
NOTREACHED();
|
||||
return KERN_FAILURE;
|
||||
}
|
||||
|
||||
kern_return_t do_mach_notify_dead_name(notify_port_t notify,
|
||||
mach_port_name_t name) {
|
||||
NOTREACHED();
|
||||
return KERN_FAILURE;
|
||||
}
|
||||
|
||||
} // extern "C"
|
||||
|
||||
namespace {
|
||||
|
||||
// The MIG-generated __MIG_check__Request__*() functions are not declared as
|
||||
|
Loading…
x
Reference in New Issue
Block a user