aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-12-01 19:02:24 +0000
committerEric Andersen <andersen@codepoet.org>2000-12-01 19:02:24 +0000
commit87559829ffc79b94adcee00b64706ce78ff2f3fb (patch)
tree75120bd48cfcb5744e62162b9110e67bf1faa2e4
parent3e856ce428cabaf6c8d99a2374a1f9a4a05db5f0 (diff)
downloadbusybox-w32-87559829ffc79b94adcee00b64706ce78ff2f3fb.tar.gz
busybox-w32-87559829ffc79b94adcee00b64706ce78ff2f3fb.tar.bz2
busybox-w32-87559829ffc79b94adcee00b64706ce78ff2f3fb.zip
Remove #ifdef __STDC__ junk. We don't do K&R round these parts,
so no point acting like we do.
-rw-r--r--busybox.h3
-rw-r--r--cmdedit.h16
-rw-r--r--coreutils/md5sum.c40
-rw-r--r--include/busybox.h3
-rw-r--r--md5sum.c40
-rw-r--r--nfsmount.h89
-rw-r--r--shell/cmdedit.h16
-rw-r--r--util-linux/nfsmount.h89
8 files changed, 6 insertions, 290 deletions
diff --git a/busybox.h b/busybox.h
index cff4af41d..bd8fca53b 100644
--- a/busybox.h
+++ b/busybox.h
@@ -109,8 +109,7 @@ struct BB_applet {
109extern const struct BB_applet applets[]; 109extern const struct BB_applet applets[];
110 110
111/* Automagically pull in all the applet function prototypes and 111/* Automagically pull in all the applet function prototypes and
112 * applet usage strings. 112 * applet usage strings. These are all of the form:
113 * These are all of the form:
114 * extern int foo_main(int argc, char **argv); 113 * extern int foo_main(int argc, char **argv);
115 * extern const char foo_usage[]; 114 * extern const char foo_usage[];
116 * These are all autogenerated from the set of currently defined applets. 115 * These are all autogenerated from the set of currently defined applets.
diff --git a/cmdedit.h b/cmdedit.h
index 27f7b5500..8ebf0d064 100644
--- a/cmdedit.h
+++ b/cmdedit.h
@@ -1,11 +1,11 @@
1#ifndef CMDEDIT_H 1#ifndef CMDEDIT_H
2#define CMDEDIT_H 2#define CMDEDIT_H
3 3
4#ifdef BB_FEATURE_SH_COMMAND_EDITING
4/* unix systems can #define POSIX to use termios, otherwise 5/* unix systems can #define POSIX to use termios, otherwise
5 * the bsd or sysv interface will be used 6 * the bsd or sysv interface will be used
6 */ 7 */
7 8
8#ifdef __STDC__
9#include <stddef.h> 9#include <stddef.h>
10 10
11typedef size_t (*cmdedit_strwidth_proc)(char *); 11typedef size_t (*cmdedit_strwidth_proc)(char *);
@@ -21,18 +21,6 @@ extern int (*cmdedit_in_hook)(char *);
21extern int (*cmdedit_out_hook)(char *); 21extern int (*cmdedit_out_hook)(char *);
22extern int (*cmdedit_tab_hook)(char *, int, int *); 22extern int (*cmdedit_tab_hook)(char *, int, int *);
23 23
24#else /* not __STDC__ */ 24#endif /* BB_FEATURE_SH_COMMAND_EDITING */
25
26void cmdedit_init(void);
27void cmdedit_read_input(char* promptStr, char* command);
28void cmdedit_setwidth();
29void cmdedit_histadd();
30void cmdedit_strwidth();
31
32extern int (*cmdedit_in_hook)();
33extern int (*cmdedit_out_hook)();
34extern int (*cmdedit_tab_hook)();
35
36#endif /* __STDC__ */
37 25
38#endif /* CMDEDIT_H */ 26#endif /* CMDEDIT_H */
diff --git a/coreutils/md5sum.c b/coreutils/md5sum.c
index 30b882ab5..84e037a61 100644
--- a/coreutils/md5sum.c
+++ b/coreutils/md5sum.c
@@ -107,48 +107,8 @@ extern _IO_ssize_t getline __P ((char **, size_t *, FILE *));
107 the resulting executable. Locally running cross-compiled executables 107 the resulting executable. Locally running cross-compiled executables
108 is usually not possible. */ 108 is usually not possible. */
109 109
110#ifdef _LIBC
111# include <sys/types.h> 110# include <sys/types.h>
112typedef u_int32_t md5_uint32; 111typedef u_int32_t md5_uint32;
113#else
114# if defined __STDC__ && __STDC__
115# define UINT_MAX_32_BITS 4294967295U
116# else
117# define UINT_MAX_32_BITS 0xFFFFFFFF
118# endif
119
120/* If UINT_MAX isn't defined, assume it's a 32-bit type.
121 This should be valid for all systems GNU cares about because
122 that doesn't include 16-bit systems, and only modern systems
123 (that certainly have <limits.h>) have 64+-bit integral types. */
124
125# ifndef UINT_MAX
126# define UINT_MAX UINT_MAX_32_BITS
127# endif
128
129# if UINT_MAX == UINT_MAX_32_BITS
130 typedef unsigned int md5_uint32;
131# else
132# if USHRT_MAX == UINT_MAX_32_BITS
133 typedef unsigned short md5_uint32;
134# else
135# if ULONG_MAX == UINT_MAX_32_BITS
136 typedef unsigned long md5_uint32;
137# else
138 /* The following line is intended to evoke an error.
139 Using #error is not portable enough. */
140 "Cannot determine unsigned 32-bit data type."
141# endif
142# endif
143# endif
144#endif
145
146#undef __P
147#if defined (__STDC__) && __STDC__
148#define __P(x) x
149#else
150#define __P(x) ()
151#endif
152 112
153/* Structure to save state of computation between the single steps. */ 113/* Structure to save state of computation between the single steps. */
154struct md5_ctx 114struct md5_ctx
diff --git a/include/busybox.h b/include/busybox.h
index cff4af41d..bd8fca53b 100644
--- a/include/busybox.h
+++ b/include/busybox.h
@@ -109,8 +109,7 @@ struct BB_applet {
109extern const struct BB_applet applets[]; 109extern const struct BB_applet applets[];
110 110
111/* Automagically pull in all the applet function prototypes and 111/* Automagically pull in all the applet function prototypes and
112 * applet usage strings. 112 * applet usage strings. These are all of the form:
113 * These are all of the form:
114 * extern int foo_main(int argc, char **argv); 113 * extern int foo_main(int argc, char **argv);
115 * extern const char foo_usage[]; 114 * extern const char foo_usage[];
116 * These are all autogenerated from the set of currently defined applets. 115 * These are all autogenerated from the set of currently defined applets.
diff --git a/md5sum.c b/md5sum.c
index 30b882ab5..84e037a61 100644
--- a/md5sum.c
+++ b/md5sum.c
@@ -107,48 +107,8 @@ extern _IO_ssize_t getline __P ((char **, size_t *, FILE *));
107 the resulting executable. Locally running cross-compiled executables 107 the resulting executable. Locally running cross-compiled executables
108 is usually not possible. */ 108 is usually not possible. */
109 109
110#ifdef _LIBC
111# include <sys/types.h> 110# include <sys/types.h>
112typedef u_int32_t md5_uint32; 111typedef u_int32_t md5_uint32;
113#else
114# if defined __STDC__ && __STDC__
115# define UINT_MAX_32_BITS 4294967295U
116# else
117# define UINT_MAX_32_BITS 0xFFFFFFFF
118# endif
119
120/* If UINT_MAX isn't defined, assume it's a 32-bit type.
121 This should be valid for all systems GNU cares about because
122 that doesn't include 16-bit systems, and only modern systems
123 (that certainly have <limits.h>) have 64+-bit integral types. */
124
125# ifndef UINT_MAX
126# define UINT_MAX UINT_MAX_32_BITS
127# endif
128
129# if UINT_MAX == UINT_MAX_32_BITS
130 typedef unsigned int md5_uint32;
131# else
132# if USHRT_MAX == UINT_MAX_32_BITS
133 typedef unsigned short md5_uint32;
134# else
135# if ULONG_MAX == UINT_MAX_32_BITS
136 typedef unsigned long md5_uint32;
137# else
138 /* The following line is intended to evoke an error.
139 Using #error is not portable enough. */
140 "Cannot determine unsigned 32-bit data type."
141# endif
142# endif
143# endif
144#endif
145
146#undef __P
147#if defined (__STDC__) && __STDC__
148#define __P(x) x
149#else
150#define __P(x) ()
151#endif
152 112
153/* Structure to save state of computation between the single steps. */ 113/* Structure to save state of computation between the single steps. */
154struct md5_ctx 114struct md5_ctx
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
155extern void * mountproc_null_1(void *, CLIENT *); 154extern void * mountproc_null_1(void *, CLIENT *);
156extern void * mountproc_null_1_svc(void *, struct svc_req *); 155extern void * mountproc_null_1_svc(void *, struct svc_req *);
@@ -174,33 +173,8 @@ extern exports * mountproc_exportall_1(void *, CLIENT *);
174extern exports * mountproc_exportall_1_svc(void *, struct svc_req *); 173extern exports * mountproc_exportall_1_svc(void *, struct svc_req *);
175extern int mountprog_1_freeresult (SVCXPRT *, xdrproc_t, caddr_t); 174extern int mountprog_1_freeresult (SVCXPRT *, xdrproc_t, caddr_t);
176 175
177#else /* K&R C */
178#define MOUNTPROC_NULL 0
179extern void * mountproc_null_1();
180extern void * mountproc_null_1_svc();
181#define MOUNTPROC_MNT 1
182extern fhstatus * mountproc_mnt_1();
183extern fhstatus * mountproc_mnt_1_svc();
184#define MOUNTPROC_DUMP 2
185extern mountlist * mountproc_dump_1();
186extern mountlist * mountproc_dump_1_svc();
187#define MOUNTPROC_UMNT 3
188extern void * mountproc_umnt_1();
189extern void * mountproc_umnt_1_svc();
190#define MOUNTPROC_UMNTALL 4
191extern void * mountproc_umntall_1();
192extern void * mountproc_umntall_1_svc();
193#define MOUNTPROC_EXPORT 5
194extern exports * mountproc_export_1();
195extern exports * mountproc_export_1_svc();
196#define MOUNTPROC_EXPORTALL 6
197extern exports * mountproc_exportall_1();
198extern exports * mountproc_exportall_1_svc();
199extern 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)
204extern void * mountproc_null_2(void *, CLIENT *); 178extern void * mountproc_null_2(void *, CLIENT *);
205extern void * mountproc_null_2_svc(void *, struct svc_req *); 179extern void * mountproc_null_2_svc(void *, struct svc_req *);
206extern fhstatus * mountproc_mnt_2(dirpath *, CLIENT *); 180extern fhstatus * mountproc_mnt_2(dirpath *, CLIENT *);
@@ -220,29 +194,8 @@ extern ppathcnf * mountproc_pathconf_2(dirpath *, CLIENT *);
220extern ppathcnf * mountproc_pathconf_2_svc(dirpath *, struct svc_req *); 194extern ppathcnf * mountproc_pathconf_2_svc(dirpath *, struct svc_req *);
221extern int mountprog_2_freeresult (SVCXPRT *, xdrproc_t, caddr_t); 195extern int mountprog_2_freeresult (SVCXPRT *, xdrproc_t, caddr_t);
222 196
223#else /* K&R C */
224extern void * mountproc_null_2();
225extern void * mountproc_null_2_svc();
226extern fhstatus * mountproc_mnt_2();
227extern fhstatus * mountproc_mnt_2_svc();
228extern mountlist * mountproc_dump_2();
229extern mountlist * mountproc_dump_2_svc();
230extern void * mountproc_umnt_2();
231extern void * mountproc_umnt_2_svc();
232extern void * mountproc_umntall_2();
233extern void * mountproc_umntall_2_svc();
234extern exports * mountproc_export_2();
235extern exports * mountproc_export_2_svc();
236extern exports * mountproc_exportall_2();
237extern exports * mountproc_exportall_2_svc();
238#define MOUNTPROC_PATHCONF 7
239extern ppathcnf * mountproc_pathconf_2();
240extern ppathcnf * mountproc_pathconf_2_svc();
241extern 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
247extern void * mountproc3_null_3(void *, CLIENT *); 200extern void * mountproc3_null_3(void *, CLIENT *);
248extern void * mountproc3_null_3_svc(void *, struct svc_req *); 201extern void * mountproc3_null_3_svc(void *, struct svc_req *);
@@ -263,31 +216,8 @@ extern exports * mountproc3_export_3(void *, CLIENT *);
263extern exports * mountproc3_export_3_svc(void *, struct svc_req *); 216extern exports * mountproc3_export_3_svc(void *, struct svc_req *);
264extern int mountprog_3_freeresult (SVCXPRT *, xdrproc_t, caddr_t); 217extern int mountprog_3_freeresult (SVCXPRT *, xdrproc_t, caddr_t);
265 218
266#else /* K&R C */
267#define MOUNTPROC3_NULL 0
268extern void * mountproc3_null_3();
269extern void * mountproc3_null_3_svc();
270#define MOUNTPROC3_MNT 1
271extern mountres3 * mountproc3_mnt_3();
272extern mountres3 * mountproc3_mnt_3_svc();
273#define MOUNTPROC3_DUMP 2
274extern mountlist * mountproc3_dump_3();
275extern mountlist * mountproc3_dump_3_svc();
276#define MOUNTPROC3_UMNT 3
277extern void * mountproc3_umnt_3();
278extern void * mountproc3_umnt_3_svc();
279#define MOUNTPROC3_UMNTALL 4
280extern void * mountproc3_umntall_3();
281extern void * mountproc3_umntall_3_svc();
282#define MOUNTPROC3_EXPORT 5
283extern exports * mountproc3_export_3();
284extern exports * mountproc3_export_3_svc();
285extern 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)
291extern bool_t xdr_fhandle (XDR *, fhandle); 221extern bool_t xdr_fhandle (XDR *, fhandle);
292extern bool_t xdr_fhandle3 (XDR *, fhandle3*); 222extern bool_t xdr_fhandle3 (XDR *, fhandle3*);
293extern bool_t xdr_mountstat3 (XDR *, mountstat3*); 223extern bool_t xdr_mountstat3 (XDR *, mountstat3*);
@@ -304,25 +234,6 @@ extern bool_t xdr_exports (XDR *, exports*);
304extern bool_t xdr_exportnode (XDR *, exportnode*); 234extern bool_t xdr_exportnode (XDR *, exportnode*);
305extern bool_t xdr_ppathcnf (XDR *, ppathcnf*); 235extern bool_t xdr_ppathcnf (XDR *, ppathcnf*);
306 236
307#else /* K&R C */
308extern bool_t xdr_fhandle ();
309extern bool_t xdr_fhandle3 ();
310extern bool_t xdr_mountstat3 ();
311extern bool_t xdr_fhstatus ();
312extern bool_t xdr_mountres3_ok ();
313extern bool_t xdr_mountres3 ();
314extern bool_t xdr_dirpath ();
315extern bool_t xdr_name ();
316extern bool_t xdr_mountlist ();
317extern bool_t xdr_mountbody ();
318extern bool_t xdr_groups ();
319extern bool_t xdr_groupnode ();
320extern bool_t xdr_exports ();
321extern bool_t xdr_exportnode ();
322extern bool_t xdr_ppathcnf ();
323
324#endif /* K&R C */
325
326#ifdef __cplusplus 237#ifdef __cplusplus
327} 238}
328#endif 239#endif
diff --git a/shell/cmdedit.h b/shell/cmdedit.h
index 27f7b5500..8ebf0d064 100644
--- a/shell/cmdedit.h
+++ b/shell/cmdedit.h
@@ -1,11 +1,11 @@
1#ifndef CMDEDIT_H 1#ifndef CMDEDIT_H
2#define CMDEDIT_H 2#define CMDEDIT_H
3 3
4#ifdef BB_FEATURE_SH_COMMAND_EDITING
4/* unix systems can #define POSIX to use termios, otherwise 5/* unix systems can #define POSIX to use termios, otherwise
5 * the bsd or sysv interface will be used 6 * the bsd or sysv interface will be used
6 */ 7 */
7 8
8#ifdef __STDC__
9#include <stddef.h> 9#include <stddef.h>
10 10
11typedef size_t (*cmdedit_strwidth_proc)(char *); 11typedef size_t (*cmdedit_strwidth_proc)(char *);
@@ -21,18 +21,6 @@ extern int (*cmdedit_in_hook)(char *);
21extern int (*cmdedit_out_hook)(char *); 21extern int (*cmdedit_out_hook)(char *);
22extern int (*cmdedit_tab_hook)(char *, int, int *); 22extern int (*cmdedit_tab_hook)(char *, int, int *);
23 23
24#else /* not __STDC__ */ 24#endif /* BB_FEATURE_SH_COMMAND_EDITING */
25
26void cmdedit_init(void);
27void cmdedit_read_input(char* promptStr, char* command);
28void cmdedit_setwidth();
29void cmdedit_histadd();
30void cmdedit_strwidth();
31
32extern int (*cmdedit_in_hook)();
33extern int (*cmdedit_out_hook)();
34extern int (*cmdedit_tab_hook)();
35
36#endif /* __STDC__ */
37 25
38#endif /* CMDEDIT_H */ 26#endif /* CMDEDIT_H */
diff --git a/util-linux/nfsmount.h b/util-linux/nfsmount.h
index a12de50a1..4f39ff2a8 100644
--- a/util-linux/nfsmount.h
+++ b/util-linux/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
155extern void * mountproc_null_1(void *, CLIENT *); 154extern void * mountproc_null_1(void *, CLIENT *);
156extern void * mountproc_null_1_svc(void *, struct svc_req *); 155extern void * mountproc_null_1_svc(void *, struct svc_req *);
@@ -174,33 +173,8 @@ extern exports * mountproc_exportall_1(void *, CLIENT *);
174extern exports * mountproc_exportall_1_svc(void *, struct svc_req *); 173extern exports * mountproc_exportall_1_svc(void *, struct svc_req *);
175extern int mountprog_1_freeresult (SVCXPRT *, xdrproc_t, caddr_t); 174extern int mountprog_1_freeresult (SVCXPRT *, xdrproc_t, caddr_t);
176 175
177#else /* K&R C */
178#define MOUNTPROC_NULL 0
179extern void * mountproc_null_1();
180extern void * mountproc_null_1_svc();
181#define MOUNTPROC_MNT 1
182extern fhstatus * mountproc_mnt_1();
183extern fhstatus * mountproc_mnt_1_svc();
184#define MOUNTPROC_DUMP 2
185extern mountlist * mountproc_dump_1();
186extern mountlist * mountproc_dump_1_svc();
187#define MOUNTPROC_UMNT 3
188extern void * mountproc_umnt_1();
189extern void * mountproc_umnt_1_svc();
190#define MOUNTPROC_UMNTALL 4
191extern void * mountproc_umntall_1();
192extern void * mountproc_umntall_1_svc();
193#define MOUNTPROC_EXPORT 5
194extern exports * mountproc_export_1();
195extern exports * mountproc_export_1_svc();
196#define MOUNTPROC_EXPORTALL 6
197extern exports * mountproc_exportall_1();
198extern exports * mountproc_exportall_1_svc();
199extern 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)
204extern void * mountproc_null_2(void *, CLIENT *); 178extern void * mountproc_null_2(void *, CLIENT *);
205extern void * mountproc_null_2_svc(void *, struct svc_req *); 179extern void * mountproc_null_2_svc(void *, struct svc_req *);
206extern fhstatus * mountproc_mnt_2(dirpath *, CLIENT *); 180extern fhstatus * mountproc_mnt_2(dirpath *, CLIENT *);
@@ -220,29 +194,8 @@ extern ppathcnf * mountproc_pathconf_2(dirpath *, CLIENT *);
220extern ppathcnf * mountproc_pathconf_2_svc(dirpath *, struct svc_req *); 194extern ppathcnf * mountproc_pathconf_2_svc(dirpath *, struct svc_req *);
221extern int mountprog_2_freeresult (SVCXPRT *, xdrproc_t, caddr_t); 195extern int mountprog_2_freeresult (SVCXPRT *, xdrproc_t, caddr_t);
222 196
223#else /* K&R C */
224extern void * mountproc_null_2();
225extern void * mountproc_null_2_svc();
226extern fhstatus * mountproc_mnt_2();
227extern fhstatus * mountproc_mnt_2_svc();
228extern mountlist * mountproc_dump_2();
229extern mountlist * mountproc_dump_2_svc();
230extern void * mountproc_umnt_2();
231extern void * mountproc_umnt_2_svc();
232extern void * mountproc_umntall_2();
233extern void * mountproc_umntall_2_svc();
234extern exports * mountproc_export_2();
235extern exports * mountproc_export_2_svc();
236extern exports * mountproc_exportall_2();
237extern exports * mountproc_exportall_2_svc();
238#define MOUNTPROC_PATHCONF 7
239extern ppathcnf * mountproc_pathconf_2();
240extern ppathcnf * mountproc_pathconf_2_svc();
241extern 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
247extern void * mountproc3_null_3(void *, CLIENT *); 200extern void * mountproc3_null_3(void *, CLIENT *);
248extern void * mountproc3_null_3_svc(void *, struct svc_req *); 201extern void * mountproc3_null_3_svc(void *, struct svc_req *);
@@ -263,31 +216,8 @@ extern exports * mountproc3_export_3(void *, CLIENT *);
263extern exports * mountproc3_export_3_svc(void *, struct svc_req *); 216extern exports * mountproc3_export_3_svc(void *, struct svc_req *);
264extern int mountprog_3_freeresult (SVCXPRT *, xdrproc_t, caddr_t); 217extern int mountprog_3_freeresult (SVCXPRT *, xdrproc_t, caddr_t);
265 218
266#else /* K&R C */
267#define MOUNTPROC3_NULL 0
268extern void * mountproc3_null_3();
269extern void * mountproc3_null_3_svc();
270#define MOUNTPROC3_MNT 1
271extern mountres3 * mountproc3_mnt_3();
272extern mountres3 * mountproc3_mnt_3_svc();
273#define MOUNTPROC3_DUMP 2
274extern mountlist * mountproc3_dump_3();
275extern mountlist * mountproc3_dump_3_svc();
276#define MOUNTPROC3_UMNT 3
277extern void * mountproc3_umnt_3();
278extern void * mountproc3_umnt_3_svc();
279#define MOUNTPROC3_UMNTALL 4
280extern void * mountproc3_umntall_3();
281extern void * mountproc3_umntall_3_svc();
282#define MOUNTPROC3_EXPORT 5
283extern exports * mountproc3_export_3();
284extern exports * mountproc3_export_3_svc();
285extern 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)
291extern bool_t xdr_fhandle (XDR *, fhandle); 221extern bool_t xdr_fhandle (XDR *, fhandle);
292extern bool_t xdr_fhandle3 (XDR *, fhandle3*); 222extern bool_t xdr_fhandle3 (XDR *, fhandle3*);
293extern bool_t xdr_mountstat3 (XDR *, mountstat3*); 223extern bool_t xdr_mountstat3 (XDR *, mountstat3*);
@@ -304,25 +234,6 @@ extern bool_t xdr_exports (XDR *, exports*);
304extern bool_t xdr_exportnode (XDR *, exportnode*); 234extern bool_t xdr_exportnode (XDR *, exportnode*);
305extern bool_t xdr_ppathcnf (XDR *, ppathcnf*); 235extern bool_t xdr_ppathcnf (XDR *, ppathcnf*);
306 236
307#else /* K&R C */
308extern bool_t xdr_fhandle ();
309extern bool_t xdr_fhandle3 ();
310extern bool_t xdr_mountstat3 ();
311extern bool_t xdr_fhstatus ();
312extern bool_t xdr_mountres3_ok ();
313extern bool_t xdr_mountres3 ();
314extern bool_t xdr_dirpath ();
315extern bool_t xdr_name ();
316extern bool_t xdr_mountlist ();
317extern bool_t xdr_mountbody ();
318extern bool_t xdr_groups ();
319extern bool_t xdr_groupnode ();
320extern bool_t xdr_exports ();
321extern bool_t xdr_exportnode ();
322extern bool_t xdr_ppathcnf ();
323
324#endif /* K&R C */
325
326#ifdef __cplusplus 237#ifdef __cplusplus
327} 238}
328#endif 239#endif