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