summary refs log tree commit diff
path: root/sunrpc
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-12-31 15:43:43 +0000
committerAndreas Jaeger <aj@suse.de>2000-12-31 15:43:43 +0000
commitfa39f7f7bedcbb61c3f6b9f1bbe3d1623ca6a8e9 (patch)
treef454d7bd7cfa42306b74970c0576be66f3f7abdc /sunrpc
parente4aced47ae1046850d846137ec72adfe32c57186 (diff)
downloadglibc-fa39f7f7bedcbb61c3f6b9f1bbe3d1623ca6a8e9.tar.gz
glibc-fa39f7f7bedcbb61c3f6b9f1bbe3d1623ca6a8e9.tar.xz
glibc-fa39f7f7bedcbb61c3f6b9f1bbe3d1623ca6a8e9.zip
Update.
	* sunrpc/rpc_main.c: Add noreturn attributes.
	* sunrpc/rpc_scan.h: Likewise.

	* sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.

	* sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.

	* sunrpc/proto.h: Add noreturn attributes to error and crash.
Diffstat (limited to 'sunrpc')
-rw-r--r--sunrpc/create_xid.c1
-rw-r--r--sunrpc/rpc_hout.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/sunrpc/create_xid.c b/sunrpc/create_xid.c
index 218b704913..c262aab430 100644
--- a/sunrpc/create_xid.c
+++ b/sunrpc/create_xid.c
@@ -21,6 +21,7 @@
 #include <stdlib.h>
 #include <sys/time.h>
 #include <bits/libc-lock.h>
+#include <rpc/rpc.h>
 
 /* The RPC code is not threadsafe, but new code should be threadsafe. */
 
diff --git a/sunrpc/rpc_hout.c b/sunrpc/rpc_hout.c
index 39bfae8324..a12810cbb4 100644
--- a/sunrpc/rpc_hout.c
+++ b/sunrpc/rpc_hout.c
@@ -58,7 +58,7 @@ static int undefined2 (const char *type, const char *stop);
 /* store away enough information to allow the XDR functions to be spat
     out at the end of the file */
 
-void
+static void
 storexdrfuncdecl (const char *name, int pointerp)
 {
   xdrfunc * xdrptr;