mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 01:50:24 +08:00
hurd: Fix RPC link names
The RPC stub code expects to be calling a C function, not a C++ function. Change-Id: Idd7549fc118f2addc7fb4975667a011cacacc03f
This commit is contained in:

committed by
Simon Marchi

parent
21cbd63389
commit
e327c35ef5
@ -1766,7 +1766,7 @@ do_mach_notify_dead_name (mach_port_t notify, mach_port_t dead_port)
|
||||
|
||||
|
||||
#define ILL_RPC(fun, ...) \
|
||||
extern kern_return_t fun (__VA_ARGS__); \
|
||||
extern "C" kern_return_t fun (__VA_ARGS__); \
|
||||
kern_return_t fun (__VA_ARGS__) \
|
||||
{ \
|
||||
warning (_("illegal rpc: %s"), #fun); \
|
||||
|
Reference in New Issue
Block a user