From cddcfecfd1a8f91ee1da1c0147a4f07aee1846a0 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 29 Jul 1996 00:18:42 +0000 Subject: Sat Jul 27 13:02:09 1996 Ulrich Drepper * elf/rtld.c (dl_main): Ignore arguments when environment variable LD_TRACE_LOADED_OBJECTS is set. Sun Jul 28 19:42:51 1996 Roland McGrath * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Initialize __libc_enable_secure instead of _dl_secure. * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise. * elf/dl-load.c (_dl_map_object): Check __libc_enable_secure instead of _dl_secure. * elf/Makefile (routines): Add enbl-secure. (elide-routines.so): Here too. * sysdeps/generic/enbl-secure.c: New file. * posix/unistd.h [__USE_GNU]: Declare `__libc_enable_secure' flag. * elf/dl-support.c (_dl_secure): Variable removed. * elf/rtld.c: Likewise. Replace all uses with __libc_enable_secure. Sun Jul 28 19:26:40 1996 David S. Miller * sysdeps/mips/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): Declare _dl_runtime_resolve with __attribute__ ((unused)) so the compiler doesn't elide it. (elf_machine_rel): Follow Jul 14 change in sysdeps/i386/dl-machine.h. --- sunrpc/rpc/auth.h | 5 ----- sunrpc/rpc/auth_unix.h | 6 ------ sunrpc/rpc/pmap_clnt.h | 5 ----- sunrpc/rpc/pmap_rmt.h | 5 +---- sunrpc/rpc/rpc_msg.h | 11 +---------- 5 files changed, 2 insertions(+), 30 deletions(-) (limited to 'sunrpc') diff --git a/sunrpc/rpc/auth.h b/sunrpc/rpc/auth.h index 0e7e2a1e9e..a40bddd4c3 100644 --- a/sunrpc/rpc/auth.h +++ b/sunrpc/rpc/auth.h @@ -87,11 +87,6 @@ struct opaque_auth { u_int oa_length; /* not to exceed MAX_AUTH_BYTES */ }; -#ifndef _RPC_AUTH_H - -#define _RPC_AUTH_H 1 -#include - /* * Auth handle, interface to client side authenticators. */ diff --git a/sunrpc/rpc/auth_unix.h b/sunrpc/rpc/auth_unix.h index 19b891cc29..3fb711894e 100644 --- a/sunrpc/rpc/auth_unix.h +++ b/sunrpc/rpc/auth_unix.h @@ -49,12 +49,6 @@ __BEGIN_DECLS -#ifndef _RPC_AUTH_UNIX_H - -#define _RPC_AUTH_UNIX_H 1 -#include - - /* The machine name is part of a credential; it may not exceed 255 bytes */ #define MAX_MACHINE_NAME 255 diff --git a/sunrpc/rpc/pmap_clnt.h b/sunrpc/rpc/pmap_clnt.h index 95f0749f87..3acfa5974d 100644 --- a/sunrpc/rpc/pmap_clnt.h +++ b/sunrpc/rpc/pmap_clnt.h @@ -40,11 +40,6 @@ * Copyright (C) 1984, Sun Microsystems, Inc. */ -#ifndef _RPC_PMAP_CLNT_H - -#define _RPC_PMAP_CLNT_H 1 -#include - __BEGIN_DECLS typedef bool_t (*resultproc_t)(); diff --git a/sunrpc/rpc/pmap_rmt.h b/sunrpc/rpc/pmap_rmt.h index 15822ef642..f5d4af110b 100644 --- a/sunrpc/rpc/pmap_rmt.h +++ b/sunrpc/rpc/pmap_rmt.h @@ -47,10 +47,7 @@ struct rmtcallargs { xdrproc_t xdr_args; }; -bool_t xdr_rmtcallres __P ((XDR *__xdrs, struct rmtcallres *__crp)); - - -#endif /* rpc/pmap_rmt.h */ +bool_t xdr_rmtcall_args __P ((XDR *__xdrs, struct rmtcallargs *__crp)); struct rmtcallres { u_long *port_ptr; diff --git a/sunrpc/rpc/rpc_msg.h b/sunrpc/rpc/rpc_msg.h index 533ec92068..9c37a4e3f9 100644 --- a/sunrpc/rpc/rpc_msg.h +++ b/sunrpc/rpc/rpc_msg.h @@ -42,12 +42,6 @@ #include -#ifndef _RPC_RPC_MSG_H - -#define _RPC_RPC_MSG_H 1 -#include - - #define RPC_MSG_VERSION ((u_long) 2) #define RPC_SERVICE_PORT ((u_short) 2048) @@ -55,7 +49,7 @@ __BEGIN_DECLS /* * Bottom up definition of an rpc message. - * NOTE: call and reply use the same overall stuct but + * NOTE: call and reply use the same overall struct but * different parts of unions within it. */ @@ -201,9 +195,6 @@ extern bool_t xdr_replymsg __P ((XDR *__xdrs, struct rpc_msg *__rmsg)); extern void _seterr_reply __P ((struct rpc_msg *__msg, struct rpc_err *__error)); -#endif /* rpc/rpc_msg.h */ - struct rpc_err *__error)); - __END_DECLS #endif /* rpc/rpc_msg.h */ -- cgit 1.4.1