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:
Samuel Thibault
2022-02-01 01:04:50 +01:00
committed by Simon Marchi
parent 21cbd63389
commit e327c35ef5

View File

@ -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); \