1enum clnt_stat { ___fake1 }; 2enum auth_stat { ___fake2 }; 3 4struct netconfig; 5struct netbuf; 6struct address; 7struct tm; 8struct ldfile; 9struct syment; 10struct stat; 11struct timeval; 12struct termios; 13struct tms; 14struct dma_cb; 15struct cred; 16struct vnode; 17struct vattr; 18struct uarg; 19struct statfs; 20struct statvfs; 21struct dirent; 22struct itimerval; 23struct mnttab; 24struct strbuf; 25struct vfstab; 26struct ldfile; 27struct syment; 28struct scnhdr; 29struct exception; 30struct nd_hostservlist; 31struct nd_hostserv; 32struct utsname; 33struct uio; 34struct pid; 35struct pollfd; 36struct nlist; 37struct passwd; 38struct spwd; 39struct flock; 40struct seg; 41struct sembuf; 42struct sigaction; 43struct utimbuf; 44struct map; 45struct filehdr; 46struct lineno; 47struct nd_addrlist; 48struct FTW; 49struct buf; 50struct ustat; 51struct qelem; 52struct prpsinfo; 53struct user; 54struct qelem; 55struct execenv; 56struct utmpx; 57 58struct direct; 59struct tm; 60struct stat; 61struct rlimit; 62struct rusage; 63struct sockaddr; 64struct sockaddr_in; 65struct timeval { int i; }; 66struct exportent; 67struct fstab; 68struct hostent; 69struct in_addr { int i; }; 70struct ldfile; 71struct mallinfo { int i; }; 72struct mint; 73struct nmtent; 74struct netent; 75struct pmaplist; 76struct protoent; 77struct rpcent; 78struct servent; 79struct authdes_cred; 80struct rpc_err; 81struct ypall_callback; 82 83union wait; 84 85/* Get size_t and wchar_t. */ 86#include <stddef.h> 87 88/* #include "sys/types.h" */ 89#define ssize_t int 90 91/* The actual types used here are mostly wrong, 92 but it is not supposed to matter what types we use here. */ 93 94typedef int dev_t; 95typedef int pid_t; 96typedef int gid_t; 97typedef int off_t; 98typedef int mode_t; 99typedef int uid_t; 100 101typedef int proc_t; 102typedef int time_t; 103typedef int addr_t; 104typedef int caddr_t; 105typedef int clock_t; 106typedef int div_t; 107typedef int ldiv_t; 108typedef int dl_t; 109typedef int major_t; 110typedef int minor_t; 111typedef int emcp_t; 112typedef int fpclass_t; 113typedef int index_t; 114typedef int ecb_t; 115typedef int aioop_t; 116typedef int evver_t; 117typedef int evcntlcmds_t; 118typedef int idtype_t; 119typedef int id_t; 120typedef int procset_t; 121typedef int hostid_t; 122typedef int evpollcmds_t; 123typedef int event_t; 124typedef int hrtime_t; 125typedef int evqcntlcmds_t; 126typedef int sigset_t; 127typedef int evsiginfo_t; 128typedef int evcontext_t; 129typedef int evta_t; 130typedef int speed_t; 131typedef int rlim_t; 132typedef int cred_t; 133typedef int file_t; 134typedef int vnode_t; 135typedef int vfs_t; 136typedef int fpos_t; 137typedef int exhda_t; 138typedef int ucontext_t; 139typedef int sess_t; 140typedef int hrtcmd_t; 141typedef int interval_t; 142typedef int key_t; 143typedef int daddr_t; 144typedef int stack_t; 145typedef int sigaction_t; 146typedef int siginfo_t; 147typedef int mblk_t; 148typedef int paddr_t; 149typedef int qband_t; 150typedef int queue_t; 151typedef int rf_resource_t; 152typedef int sr_mount_t; 153typedef int timer_t; 154typedef int fpregset_t; 155typedef int prstatus_t; 156typedef int vfssw_t; 157typedef int eucwidth_t; 158typedef int page_t; 159 160typedef int u_int; 161typedef int u_short; 162typedef int u_long; 163typedef int u_char; 164 165typedef int ushort; 166typedef int ulong; 167typedef int uint; 168 169typedef int __gnuc_va_list; 170 171typedef int archdr; 172typedef int AUTH; 173typedef int CLIENT; 174typedef int DIR; 175typedef int ENTRY; 176typedef int Elf; 177typedef int Elf32_Ehdr; 178typedef int Elf32_Phdr; 179typedef int Elf32_Shdr; 180typedef int Elf_Arhdr; 181typedef int Elf_Arsym; 182typedef int Elf_Cmd; 183typedef int Elf_Data; 184typedef int Elf_Scn; 185typedef int Elf_Type; 186typedef int Elf_Kind; 187typedef int FIELD; 188typedef int FIELDTYPE; 189typedef int PTF_int; 190typedef int PTF_void; 191typedef int PTF_charP; 192typedef int FILE; 193typedef int FORM; 194typedef int ITEM; 195typedef int MENU; 196typedef int OPTIONS; 197typedef int PANEL; 198typedef int FTP_void; 199typedef int RPCBLIST; 200typedef int SCREEN; 201typedef int SVCXPRT; 202typedef int TERMINAL; 203typedef int WINDOW; 204typedef int bool; 205typedef int nl_catd; 206typedef int nl_item; 207typedef int chtype; 208typedef int datum; 209typedef int fp_rnd; 210typedef int spraycumul; 211typedef int WORD; 212typedef int VISIT; 213typedef int ACTION; 214 215typedef int *jmp_buf; 216typedef int *sigjmp_buf; 217typedef int xdrproc_t; 218typedef int CALL; 219typedef int bool_t; 220typedef int DBM; 221typedef int des_block; 222typedef int resultproc_t; 223 224 225#ifdef BSD 226 227#define mode_t int 228#define uid_t int 229#define gid_t int 230#define time_t long 231#define pid_t int 232#define signal_ret_t int 233#define wait_arg_t union wait 234 235#else 236 237#define signal_ret_t void 238#define wait_arg_t int 239 240#endif 241