/* FakeGetXNSid.c -- Copyright Ó 1988 by Xerox Corporation. All rights reserved. * since the GetXNSid kludge doesn't work in Threads world, we need to fake something. */ typedef unsigned short BYTE; typedef struct HostNumber_self { BYTE a :8; BYTE b :8; BYTE c :8; BYTE d :8; BYTE e :8; BYTE f :8; } XNSID_HostNumber; typedef struct ProcessorID_self { XNSID_HostNumber anon0; } XNSID_ProcessorID; extern void XR_getxnshostid(pid) XNSID_ProcessorID *pid; { if (pid == 0) return; pid->anon0.a = 0; pid->anon0.b = 1; pid->anon0.c = 2; pid->anon0.d = 3; pid->anon0.e = 4; pid->anon0.f = 5; return; }