diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-12-01 19:02:24 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-12-01 19:02:24 +0000 |
commit | c8166b5b2b56c8170e85391435e57dbfdcaec89b (patch) | |
tree | 75120bd48cfcb5744e62162b9110e67bf1faa2e4 /nfsmount.h | |
parent | 8cb2f75a75eb9694f36312ab4856d335ab2bac19 (diff) | |
download | busybox-w32-c8166b5b2b56c8170e85391435e57dbfdcaec89b.tar.gz busybox-w32-c8166b5b2b56c8170e85391435e57dbfdcaec89b.tar.bz2 busybox-w32-c8166b5b2b56c8170e85391435e57dbfdcaec89b.zip |
Remove #ifdef __STDC__ junk. We don't do K&R round these parts,
so no point acting like we do.
git-svn-id: svn://busybox.net/trunk/busybox@1361 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'nfsmount.h')
-rw-r--r-- | nfsmount.h | 89 |
1 files changed, 0 insertions, 89 deletions
diff --git a/nfsmount.h b/nfsmount.h index a12de50a1..4f39ff2a8 100644 --- a/nfsmount.h +++ b/nfsmount.h | |||
@@ -150,7 +150,6 @@ typedef struct ppathcnf ppathcnf; | |||
150 | #define MOUNTPROG 100005 | 150 | #define MOUNTPROG 100005 |
151 | #define MOUNTVERS 1 | 151 | #define MOUNTVERS 1 |
152 | 152 | ||
153 | #if defined(__STDC__) || defined(__cplusplus) | ||
154 | #define MOUNTPROC_NULL 0 | 153 | #define MOUNTPROC_NULL 0 |
155 | extern void * mountproc_null_1(void *, CLIENT *); | 154 | extern void * mountproc_null_1(void *, CLIENT *); |
156 | extern void * mountproc_null_1_svc(void *, struct svc_req *); | 155 | extern void * mountproc_null_1_svc(void *, struct svc_req *); |
@@ -174,33 +173,8 @@ extern exports * mountproc_exportall_1(void *, CLIENT *); | |||
174 | extern exports * mountproc_exportall_1_svc(void *, struct svc_req *); | 173 | extern exports * mountproc_exportall_1_svc(void *, struct svc_req *); |
175 | extern int mountprog_1_freeresult (SVCXPRT *, xdrproc_t, caddr_t); | 174 | extern int mountprog_1_freeresult (SVCXPRT *, xdrproc_t, caddr_t); |
176 | 175 | ||
177 | #else /* K&R C */ | ||
178 | #define MOUNTPROC_NULL 0 | ||
179 | extern void * mountproc_null_1(); | ||
180 | extern void * mountproc_null_1_svc(); | ||
181 | #define MOUNTPROC_MNT 1 | ||
182 | extern fhstatus * mountproc_mnt_1(); | ||
183 | extern fhstatus * mountproc_mnt_1_svc(); | ||
184 | #define MOUNTPROC_DUMP 2 | ||
185 | extern mountlist * mountproc_dump_1(); | ||
186 | extern mountlist * mountproc_dump_1_svc(); | ||
187 | #define MOUNTPROC_UMNT 3 | ||
188 | extern void * mountproc_umnt_1(); | ||
189 | extern void * mountproc_umnt_1_svc(); | ||
190 | #define MOUNTPROC_UMNTALL 4 | ||
191 | extern void * mountproc_umntall_1(); | ||
192 | extern void * mountproc_umntall_1_svc(); | ||
193 | #define MOUNTPROC_EXPORT 5 | ||
194 | extern exports * mountproc_export_1(); | ||
195 | extern exports * mountproc_export_1_svc(); | ||
196 | #define MOUNTPROC_EXPORTALL 6 | ||
197 | extern exports * mountproc_exportall_1(); | ||
198 | extern exports * mountproc_exportall_1_svc(); | ||
199 | extern int mountprog_1_freeresult (); | ||
200 | #endif /* K&R C */ | ||
201 | #define MOUNTVERS_POSIX 2 | 176 | #define MOUNTVERS_POSIX 2 |
202 | 177 | ||
203 | #if defined(__STDC__) || defined(__cplusplus) | ||
204 | extern void * mountproc_null_2(void *, CLIENT *); | 178 | extern void * mountproc_null_2(void *, CLIENT *); |
205 | extern void * mountproc_null_2_svc(void *, struct svc_req *); | 179 | extern void * mountproc_null_2_svc(void *, struct svc_req *); |
206 | extern fhstatus * mountproc_mnt_2(dirpath *, CLIENT *); | 180 | extern fhstatus * mountproc_mnt_2(dirpath *, CLIENT *); |
@@ -220,29 +194,8 @@ extern ppathcnf * mountproc_pathconf_2(dirpath *, CLIENT *); | |||
220 | extern ppathcnf * mountproc_pathconf_2_svc(dirpath *, struct svc_req *); | 194 | extern ppathcnf * mountproc_pathconf_2_svc(dirpath *, struct svc_req *); |
221 | extern int mountprog_2_freeresult (SVCXPRT *, xdrproc_t, caddr_t); | 195 | extern int mountprog_2_freeresult (SVCXPRT *, xdrproc_t, caddr_t); |
222 | 196 | ||
223 | #else /* K&R C */ | ||
224 | extern void * mountproc_null_2(); | ||
225 | extern void * mountproc_null_2_svc(); | ||
226 | extern fhstatus * mountproc_mnt_2(); | ||
227 | extern fhstatus * mountproc_mnt_2_svc(); | ||
228 | extern mountlist * mountproc_dump_2(); | ||
229 | extern mountlist * mountproc_dump_2_svc(); | ||
230 | extern void * mountproc_umnt_2(); | ||
231 | extern void * mountproc_umnt_2_svc(); | ||
232 | extern void * mountproc_umntall_2(); | ||
233 | extern void * mountproc_umntall_2_svc(); | ||
234 | extern exports * mountproc_export_2(); | ||
235 | extern exports * mountproc_export_2_svc(); | ||
236 | extern exports * mountproc_exportall_2(); | ||
237 | extern exports * mountproc_exportall_2_svc(); | ||
238 | #define MOUNTPROC_PATHCONF 7 | ||
239 | extern ppathcnf * mountproc_pathconf_2(); | ||
240 | extern ppathcnf * mountproc_pathconf_2_svc(); | ||
241 | extern int mountprog_2_freeresult (); | ||
242 | #endif /* K&R C */ | ||
243 | #define MOUNT_V3 3 | 197 | #define MOUNT_V3 3 |
244 | 198 | ||
245 | #if defined(__STDC__) || defined(__cplusplus) | ||
246 | #define MOUNTPROC3_NULL 0 | 199 | #define MOUNTPROC3_NULL 0 |
247 | extern void * mountproc3_null_3(void *, CLIENT *); | 200 | extern void * mountproc3_null_3(void *, CLIENT *); |
248 | extern void * mountproc3_null_3_svc(void *, struct svc_req *); | 201 | extern void * mountproc3_null_3_svc(void *, struct svc_req *); |
@@ -263,31 +216,8 @@ extern exports * mountproc3_export_3(void *, CLIENT *); | |||
263 | extern exports * mountproc3_export_3_svc(void *, struct svc_req *); | 216 | extern exports * mountproc3_export_3_svc(void *, struct svc_req *); |
264 | extern int mountprog_3_freeresult (SVCXPRT *, xdrproc_t, caddr_t); | 217 | extern int mountprog_3_freeresult (SVCXPRT *, xdrproc_t, caddr_t); |
265 | 218 | ||
266 | #else /* K&R C */ | ||
267 | #define MOUNTPROC3_NULL 0 | ||
268 | extern void * mountproc3_null_3(); | ||
269 | extern void * mountproc3_null_3_svc(); | ||
270 | #define MOUNTPROC3_MNT 1 | ||
271 | extern mountres3 * mountproc3_mnt_3(); | ||
272 | extern mountres3 * mountproc3_mnt_3_svc(); | ||
273 | #define MOUNTPROC3_DUMP 2 | ||
274 | extern mountlist * mountproc3_dump_3(); | ||
275 | extern mountlist * mountproc3_dump_3_svc(); | ||
276 | #define MOUNTPROC3_UMNT 3 | ||
277 | extern void * mountproc3_umnt_3(); | ||
278 | extern void * mountproc3_umnt_3_svc(); | ||
279 | #define MOUNTPROC3_UMNTALL 4 | ||
280 | extern void * mountproc3_umntall_3(); | ||
281 | extern void * mountproc3_umntall_3_svc(); | ||
282 | #define MOUNTPROC3_EXPORT 5 | ||
283 | extern exports * mountproc3_export_3(); | ||
284 | extern exports * mountproc3_export_3_svc(); | ||
285 | extern int mountprog_3_freeresult (); | ||
286 | #endif /* K&R C */ | ||
287 | |||
288 | /* the xdr functions */ | 219 | /* the xdr functions */ |
289 | 220 | ||
290 | #if defined(__STDC__) || defined(__cplusplus) | ||
291 | extern bool_t xdr_fhandle (XDR *, fhandle); | 221 | extern bool_t xdr_fhandle (XDR *, fhandle); |
292 | extern bool_t xdr_fhandle3 (XDR *, fhandle3*); | 222 | extern bool_t xdr_fhandle3 (XDR *, fhandle3*); |
293 | extern bool_t xdr_mountstat3 (XDR *, mountstat3*); | 223 | extern bool_t xdr_mountstat3 (XDR *, mountstat3*); |
@@ -304,25 +234,6 @@ extern bool_t xdr_exports (XDR *, exports*); | |||
304 | extern bool_t xdr_exportnode (XDR *, exportnode*); | 234 | extern bool_t xdr_exportnode (XDR *, exportnode*); |
305 | extern bool_t xdr_ppathcnf (XDR *, ppathcnf*); | 235 | extern bool_t xdr_ppathcnf (XDR *, ppathcnf*); |
306 | 236 | ||
307 | #else /* K&R C */ | ||
308 | extern bool_t xdr_fhandle (); | ||
309 | extern bool_t xdr_fhandle3 (); | ||
310 | extern bool_t xdr_mountstat3 (); | ||
311 | extern bool_t xdr_fhstatus (); | ||
312 | extern bool_t xdr_mountres3_ok (); | ||
313 | extern bool_t xdr_mountres3 (); | ||
314 | extern bool_t xdr_dirpath (); | ||
315 | extern bool_t xdr_name (); | ||
316 | extern bool_t xdr_mountlist (); | ||
317 | extern bool_t xdr_mountbody (); | ||
318 | extern bool_t xdr_groups (); | ||
319 | extern bool_t xdr_groupnode (); | ||
320 | extern bool_t xdr_exports (); | ||
321 | extern bool_t xdr_exportnode (); | ||
322 | extern bool_t xdr_ppathcnf (); | ||
323 | |||
324 | #endif /* K&R C */ | ||
325 | |||
326 | #ifdef __cplusplus | 237 | #ifdef __cplusplus |
327 | } | 238 | } |
328 | #endif | 239 | #endif |