diff options
author | Roland McGrath <roland@gnu.org> | 1996-06-25 18:22:06 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1996-06-25 18:22:06 +0000 |
commit | 622586fbe088fbd0cca0533a046e65114c584526 (patch) | |
tree | a4f9cedd81e45b312fd057d9e92039c6895a5519 /inet/getrpcent_r.c | |
parent | a4242e25dcf614b1eeb827e96d6d3c9f503f519d (diff) | |
download | glibc-622586fbe088fbd0cca0533a046e65114c584526.tar.gz |
Tue Jun 25 10:58:23 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* inet/getrpcent.c: Fix macros.
* inet/getrpcent_r.c: Fix macros.
* elf/dlsym.c (dlsym): Search the global scope if HANDLE is null.
* elf/dl-load.c (_dl_map_object_from_fd): Initialize L.
Diffstat (limited to 'inet/getrpcent_r.c')
-rw-r--r-- | inet/getrpcent_r.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/inet/getrpcent_r.c b/inet/getrpcent_r.c index aeb78aa1a2..3a64e7170c 100644 --- a/inet/getrpcent_r.c +++ b/inet/getrpcent_r.c @@ -16,12 +16,15 @@ License along with the GNU C Library; see the file COPYING.LIB. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include <rpc/netdb.h> +#include <netdb.h> -#define DATABASE_NAME rpc #define LOOKUP_TYPE struct rpcent -#define GETFUNC_NAME rpcent -#define BUFLEN 1024 +#define SETFUNC_NAME setrpcent +#define GETFUNC_NAME getrpcent +#define ENDFUNC_NAME endrpcent +#define DATABASE_NAME rpc +#define STAYOPEN int stayopen +#define STAYOPEN_VAR stayopen #include "../nss/getXXent_r.c" |