* 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.
This commit is contained in:
Andreas Jaeger 2000-12-31 15:43:43 +00:00
parent e4aced47ae
commit fa39f7f7be
4 changed files with 12 additions and 1 deletions

View File

@ -1,5 +1,14 @@
2000-12-31 Andreas Jaeger <aj@suse.de>
* 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.
* posix/bsd-getpgrp.c: Add prototype to avoid warning.
* sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.

View File

@ -22,6 +22,7 @@
/* Don't include unistd.h because it declares a conflicting
prototype for the POSIX.1 `getpgrp' function. */
extern pid_t __getpgid (pid_t);
extern pid_t __bsd_getpgrp (pid_t);
pid_t
__bsd_getpgrp (pid_t pid)

View File

@ -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. */

View File

@ -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;