summary refs log tree commit diff
path: root/nss/nsswitch.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-05-26 06:42:16 +0000
committerUlrich Drepper <drepper@redhat.com>2004-05-26 06:42:16 +0000
commit1773d1ba5fa4c82e3a609f11742e159039b01c24 (patch)
tree971c00b818979ef1463d669f9b724988360e8220 /nss/nsswitch.h
parentffdd5e50e18b0cb212acad135e421d932cf3d3a2 (diff)
downloadglibc-1773d1ba5fa4c82e3a609f11742e159039b01c24.tar.gz
glibc-1773d1ba5fa4c82e3a609f11742e159039b01c24.tar.xz
glibc-1773d1ba5fa4c82e3a609f11742e159039b01c24.zip
Update.
2004-05-25  Ulrich Drepper  <drepper@redhat.com>

	* nss/digits_dots.c (__nss_hostname_digits_dots): Remove typep and
	flags parameter, convert afp to simple int parameter.  Adjust code.
	typep was never != NULL and flags therefore also unused.  *afp is
	never modified.
	* nss/nsswitch.h: Adjust __nss_hostname_digits_dots prototype.
	* nss/getXXbyYY.c: Remove HAVE_TYPE handling.  Adjust af parameter
	handling for __nss_hostname_digits_dots calls.
	* nss/getXXbyYY_r.c: Likewise.

	* elf/dl-load.c (_dl_map_object_from_fd): Map DSOs with MAP_DENYWRITE.
Diffstat (limited to 'nss/nsswitch.h')
-rw-r--r--nss/nsswitch.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/nss/nsswitch.h b/nss/nsswitch.h
index c419708d1d..96568c69a6 100644
--- a/nss/nsswitch.h
+++ b/nss/nsswitch.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996-1999,2001,2002,2003 Free Software Foundation, Inc.
+/* Copyright (C) 1996-1999,2001,2002,2003,2004 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -172,8 +172,8 @@ extern int __nss_hostname_digits_dots (const char *name,
 				       struct hostent *resbuf, char **buffer,
 				       size_t *buffer_size, size_t buflen,
 				       struct hostent **result,
-				       enum nss_status *status, int *typep,
-				       int flags, int *afp, int *h_errnop);
+				       enum nss_status *status, int af,
+				       int *h_errnop);
 libc_hidden_proto (__nss_hostname_digits_dots)
 
 #endif	/* nsswitch.h */