mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
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.
This commit is contained in:
parent
e4aced47ae
commit
fa39f7f7be
@ -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.
|
||||
|
@ -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)
|
||||
|
@ -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. */
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user