00001 enum clnt_stat { ___fake1 }; 00002 enum auth_stat { ___fake2 }; 00003 00004 struct netconfig; 00005 struct netbuf; 00006 struct address; 00007 struct tm; 00008 struct ldfile; 00009 struct syment; 00010 struct stat; 00011 struct timeval; 00012 struct termios; 00013 struct tms; 00014 struct dma_cb; 00015 struct cred; 00016 struct vnode; 00017 struct vattr; 00018 struct uarg; 00019 struct statfs; 00020 struct statvfs; 00021 struct dirent; 00022 struct itimerval; 00023 struct mnttab; 00024 struct strbuf; 00025 struct vfstab; 00026 struct ldfile; 00027 struct syment; 00028 struct scnhdr; 00029 struct exception; 00030 struct nd_hostservlist; 00031 struct nd_hostserv; 00032 struct utsname; 00033 struct uio; 00034 struct pid; 00035 struct pollfd; 00036 struct nlist; 00037 struct passwd; 00038 struct spwd; 00039 struct flock; 00040 struct seg; 00041 struct sembuf; 00042 struct sigaction; 00043 struct utimbuf; 00044 struct map; 00045 struct filehdr; 00046 struct lineno; 00047 struct nd_addrlist; 00048 struct FTW; 00049 struct buf; 00050 struct ustat; 00051 struct qelem; 00052 struct prpsinfo; 00053 struct user; 00054 struct qelem; 00055 struct execenv; 00056 struct utmpx; 00057 00058 struct direct; 00059 struct tm; 00060 struct stat; 00061 struct rlimit; 00062 struct rusage; 00063 struct sockaddr; 00064 struct sockaddr_in; 00065 struct timeval { int i; }; 00066 struct exportent; 00067 struct fstab; 00068 struct hostent; 00069 struct in_addr { int i; }; 00070 struct ldfile; 00071 struct mallinfo { int i; }; 00072 struct mint; 00073 struct nmtent; 00074 struct netent; 00075 struct pmaplist; 00076 struct protoent; 00077 struct rpcent; 00078 struct servent; 00079 struct authdes_cred; 00080 struct rpc_err; 00081 struct ypall_callback; 00082 00083 union wait; 00084 00085 /* Get size_t and wchar_t. */ 00086 #include <stddef.h> 00087 00088 /* #include "sys/types.h" */ 00089 #define ssize_t int 00090 00091 /* The actual types used here are mostly wrong, 00092 but it is not supposed to matter what types we use here. */ 00093 00094 typedef int dev_t; 00095 typedef int pid_t; 00096 typedef int gid_t; 00097 typedef int off_t; 00098 typedef int mode_t; 00099 typedef int uid_t; 00100 00101 typedef int proc_t; 00102 typedef int time_t; 00103 typedef int addr_t; 00104 typedef int caddr_t; 00105 typedef int clock_t; 00106 typedef int div_t; 00107 typedef int ldiv_t; 00108 typedef int dl_t; 00109 typedef int major_t; 00110 typedef int minor_t; 00111 typedef int emcp_t; 00112 typedef int fpclass_t; 00113 typedef int index_t; 00114 typedef int ecb_t; 00115 typedef int aioop_t; 00116 typedef int evver_t; 00117 typedef int evcntlcmds_t; 00118 typedef int idtype_t; 00119 typedef int id_t; 00120 typedef int procset_t; 00121 typedef int hostid_t; 00122 typedef int evpollcmds_t; 00123 typedef int event_t; 00124 typedef int hrtime_t; 00125 typedef int evqcntlcmds_t; 00126 typedef int sigset_t; 00127 typedef int evsiginfo_t; 00128 typedef int evcontext_t; 00129 typedef int evta_t; 00130 typedef int speed_t; 00131 typedef int rlim_t; 00132 typedef int cred_t; 00133 typedef int file_t; 00134 typedef int vnode_t; 00135 typedef int vfs_t; 00136 typedef int fpos_t; 00137 typedef int exhda_t; 00138 typedef int ucontext_t; 00139 typedef int sess_t; 00140 typedef int hrtcmd_t; 00141 typedef int interval_t; 00142 typedef int key_t; 00143 typedef int daddr_t; 00144 typedef int stack_t; 00145 typedef int sigaction_t; 00146 typedef int siginfo_t; 00147 typedef int mblk_t; 00148 typedef int paddr_t; 00149 typedef int qband_t; 00150 typedef int queue_t; 00151 typedef int rf_resource_t; 00152 typedef int sr_mount_t; 00153 typedef int timer_t; 00154 typedef int fpregset_t; 00155 typedef int prstatus_t; 00156 typedef int vfssw_t; 00157 typedef int eucwidth_t; 00158 typedef int page_t; 00159 00160 typedef int u_int; 00161 typedef int u_short; 00162 typedef int u_long; 00163 typedef int u_char; 00164 00165 typedef int ushort; 00166 typedef int ulong; 00167 typedef int uint; 00168 00169 typedef int __gnuc_va_list; 00170 00171 typedef int archdr; 00172 typedef int AUTH; 00173 typedef int CLIENT; 00174 typedef int DIR; 00175 typedef int ENTRY; 00176 typedef int Elf; 00177 typedef int Elf32_Ehdr; 00178 typedef int Elf32_Phdr; 00179 typedef int Elf32_Shdr; 00180 typedef int Elf_Arhdr; 00181 typedef int Elf_Arsym; 00182 typedef int Elf_Cmd; 00183 typedef int Elf_Data; 00184 typedef int Elf_Scn; 00185 typedef int Elf_Type; 00186 typedef int Elf_Kind; 00187 typedef int FIELD; 00188 typedef int FIELDTYPE; 00189 typedef int PTF_int; 00190 typedef int PTF_void; 00191 typedef int PTF_charP; 00192 typedef int FILE; 00193 typedef int FORM; 00194 typedef int ITEM; 00195 typedef int MENU; 00196 typedef int OPTIONS; 00197 typedef int PANEL; 00198 typedef int FTP_void; 00199 typedef int RPCBLIST; 00200 typedef int SCREEN; 00201 typedef int SVCXPRT; 00202 typedef int TERMINAL; 00203 typedef int WINDOW; 00204 typedef int bool; 00205 typedef int nl_catd; 00206 typedef int nl_item; 00207 typedef int chtype; 00208 typedef int datum; 00209 typedef int fp_rnd; 00210 typedef int spraycumul; 00211 typedef int WORD; 00212 typedef int VISIT; 00213 typedef int ACTION; 00214 00215 typedef int *jmp_buf; 00216 typedef int *sigjmp_buf; 00217 typedef int xdrproc_t; 00218 typedef int CALL; 00219 typedef int bool_t; 00220 typedef int DBM; 00221 typedef int des_block; 00222 typedef int resultproc_t; 00223 00224 00225 #ifdef BSD 00226 00227 #define mode_t int 00228 #define uid_t int 00229 #define gid_t int 00230 #define time_t long 00231 #define pid_t int 00232 #define signal_ret_t int 00233 #define wait_arg_t union wait 00234 00235 #else 00236 00237 #define signal_ret_t void 00238 #define wait_arg_t int 00239 00240 #endif
1.5.6