aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.3.1/fixincludes/tests/base/rpc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.3.1/fixincludes/tests/base/rpc')
-rw-r--r--gcc-4.3.1/fixincludes/tests/base/rpc/auth.h26
-rw-r--r--gcc-4.3.1/fixincludes/tests/base/rpc/rpc.h14
-rw-r--r--gcc-4.3.1/fixincludes/tests/base/rpc/svc.h15
-rw-r--r--gcc-4.3.1/fixincludes/tests/base/rpc/xdr.h25
4 files changed, 80 insertions, 0 deletions
diff --git a/gcc-4.3.1/fixincludes/tests/base/rpc/auth.h b/gcc-4.3.1/fixincludes/tests/base/rpc/auth.h
new file mode 100644
index 000000000..42ba84707
--- /dev/null
+++ b/gcc-4.3.1/fixincludes/tests/base/rpc/auth.h
@@ -0,0 +1,26 @@
+/* DO NOT EDIT THIS FILE.
+
+ It has been auto-edited by fixincludes from:
+
+ "fixinc/tests/inc/rpc/auth.h"
+
+ This had to be done to correct non-standard usages in the
+ original, manufacturer supplied header file. */
+
+
+
+#if defined( STRUCT_SOCKADDR_CHECK )
+struct sockaddr;
+extern AUTH* authdes_create( struct sockaddr* );
+#endif /* STRUCT_SOCKADDR_CHECK */
+
+
+#if defined( SUN_AUTH_PROTO_CHECK )
+struct auth_t {
+#ifdef __cplusplus
+ int (*name)(...); /* C++ bad */
+#else
+ int (*name)(); /* C++ bad */
+#endif
+};
+#endif /* SUN_AUTH_PROTO_CHECK */
diff --git a/gcc-4.3.1/fixincludes/tests/base/rpc/rpc.h b/gcc-4.3.1/fixincludes/tests/base/rpc/rpc.h
new file mode 100644
index 000000000..2e7847897
--- /dev/null
+++ b/gcc-4.3.1/fixincludes/tests/base/rpc/rpc.h
@@ -0,0 +1,14 @@
+/* DO NOT EDIT THIS FILE.
+
+ It has been auto-edited by fixincludes from:
+
+ "fixinc/tests/inc/rpc/rpc.h"
+
+ This had to be done to correct non-standard usages in the
+ original, manufacturer supplied header file. */
+
+
+
+#if defined( NESTED_AUTH_DES_CHECK )
+/*#include <rpc/auth_des.h> */ /* skip this */
+#endif /* NESTED_AUTH_DES_CHECK */
diff --git a/gcc-4.3.1/fixincludes/tests/base/rpc/svc.h b/gcc-4.3.1/fixincludes/tests/base/rpc/svc.h
new file mode 100644
index 000000000..4e1245fb0
--- /dev/null
+++ b/gcc-4.3.1/fixincludes/tests/base/rpc/svc.h
@@ -0,0 +1,15 @@
+/* DO NOT EDIT THIS FILE.
+
+ It has been auto-edited by fixincludes from:
+
+ "fixinc/tests/inc/rpc/svc.h"
+
+ This had to be done to correct non-standard usages in the
+ original, manufacturer supplied header file. */
+
+
+
+#if defined( ULTRIX_NESTED_SVC_CHECK )
+ * int protocol; */ /* like TCP or UDP
+
+#endif /* ULTRIX_NESTED_SVC_CHECK */
diff --git a/gcc-4.3.1/fixincludes/tests/base/rpc/xdr.h b/gcc-4.3.1/fixincludes/tests/base/rpc/xdr.h
new file mode 100644
index 000000000..7b9f9bae9
--- /dev/null
+++ b/gcc-4.3.1/fixincludes/tests/base/rpc/xdr.h
@@ -0,0 +1,25 @@
+/* DO NOT EDIT THIS FILE.
+
+ It has been auto-edited by fixincludes from:
+
+ "fixinc/tests/inc/rpc/xdr.h"
+
+ This had to be done to correct non-standard usages in the
+ original, manufacturer supplied header file. */
+
+
+
+#if defined( RPC_XDR_LVALUE_CAST_A_CHECK )
+#define IXDR_GET_LONG(buf) ((long)IXDR_GET_U_INT32(buf))
+#endif /* RPC_XDR_LVALUE_CAST_A_CHECK */
+
+
+#if defined( RPC_XDR_LVALUE_CAST_B_CHECK )
+#define IXDR_PUT_LONG(buf, v) ((long)IXDR_PUT_INT32(buf, (long)(v)))
+#endif /* RPC_XDR_LVALUE_CAST_B_CHECK */
+
+
+#if defined( STRUCT_FILE_CHECK )
+struct __file_s;
+extern void xdrstdio_create( struct __file_s* );
+#endif /* STRUCT_FILE_CHECK */