summaryrefslogtreecommitdiff
path: root/sunrpc
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1997-02-18 04:08:52 +0000
committerUlrich Drepper <drepper@redhat.com>1997-02-18 04:08:52 +0000
commit9652be3de8913e528f86d9d4d2643db6c472f9fe (patch)
treeafa08c329c7b3007487a47b78ed77c47f88d2a4d /sunrpc
parent7434ccadbb6897d366d2377f84efe1e2cd61b02b (diff)
update from main archive 970217
Diffstat (limited to 'sunrpc')
-rw-r--r--sunrpc/rpc/auth_des.h6
-rw-r--r--sunrpc/rpc/pmap_rmt.h6
2 files changed, 9 insertions, 3 deletions
diff --git a/sunrpc/rpc/auth_des.h b/sunrpc/rpc/auth_des.h
index 097eb68771..8c2f794691 100644
--- a/sunrpc/rpc/auth_des.h
+++ b/sunrpc/rpc/auth_des.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -21,6 +21,8 @@
#define _RPC_AUTH_DES_H 1
#include <sys/cdefs.h>
+__BEGIN_DECLS
+
/* This is no complete version of this header. More definitions with
the real authentication stuff will come in 1997. For now we only
need to define the function for handling public keys. */
@@ -39,4 +41,6 @@ extern int getpublickey __P ((__const char *__name, char *__key));
extern int getsecretkey __P ((__const char *__name, char *__key,
__const char *__passwd));
+__END_DECLS
+
#endif /* rpc/auth_des.h */
diff --git a/sunrpc/rpc/pmap_rmt.h b/sunrpc/rpc/pmap_rmt.h
index f5d4af110b..0489bb5c4f 100644
--- a/sunrpc/rpc/pmap_rmt.h
+++ b/sunrpc/rpc/pmap_rmt.h
@@ -40,6 +40,7 @@
#define _RPC_PMAP_RMT_H 1
#include <features.h>
+__BEGIN_DECLS
struct rmtcallargs {
u_long prog, vers, proc, arglen;
@@ -47,7 +48,7 @@ struct rmtcallargs {
xdrproc_t xdr_args;
};
-bool_t xdr_rmtcall_args __P ((XDR *__xdrs, struct rmtcallargs *__crp));
+extern bool_t xdr_rmtcall_args __P ((XDR *__xdrs, struct rmtcallargs *__crp));
struct rmtcallres {
u_long *port_ptr;
@@ -56,7 +57,8 @@ struct rmtcallres {
xdrproc_t xdr_results;
};
-bool_t xdr_rmtcallres __P ((XDR *__xdrs, struct rmtcallres *__crp));
+extern bool_t xdr_rmtcallres __P ((XDR *__xdrs, struct rmtcallres *__crp));
+__END_DECLS
#endif /* rpc/pmap_rmt.h */