summary refs log tree commit diff
path: root/resolv
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-12-15 23:23:24 +0000
committerRoland McGrath <roland@gnu.org>2002-12-15 23:23:24 +0000
commitc2e131128be262e38f086465f3561c2faeaaef78 (patch)
tree64d75322683e9004b0fbb2e241c937ec9f0cd641 /resolv
parent67d27eba63f00cb00fb448ec1d2cc43dd4181196 (diff)
downloadglibc-c2e131128be262e38f086465f3561c2faeaaef78.tar.gz
glibc-c2e131128be262e38f086465f3561c2faeaaef78.tar.xz
glibc-c2e131128be262e38f086465f3561c2faeaaef78.zip
* sysdeps/unix/sysv/linux/readv.c (do_readv): Use prototype defn.
	* sysdeps/unix/sysv/linux/wait.c: Don't include <nptl/pthreadP.h> or
	<tls.h> here, no need for it.
	* sysdeps/unix/sysv/linux/waitpid.c: Likewise.

	* sysdeps/unix/sysv/linux/i386/fcntl.c (do_fcntl): Take ARG as void *
	parameter, not varargs parameter.

	* sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_RESET): Evaluate the
	argument so it's not an unused variable.

	* resolv/resolv.h (__p_key_syms, __p_cert_syms, __p_class_syms,
	__p_type_syms, __p_rcode_syms): Remove decls, never really intended
	for users.

	* resolv/Versions (libresolv: GLIBC_2.3.2): New set, add __p_rcode.

2002-12-15  Art Haas  <ahaas@airmail.net>

	* nscd/connections.c: C99 initializer conversion.
	* nscd/grpcache.c: Same.
	* nscd/hstcache.c: Same.
	* nscd/pwdcache.c: Same.
Diffstat (limited to 'resolv')
-rw-r--r--resolv/Versions3
-rw-r--r--resolv/resolv.h15
2 files changed, 3 insertions, 15 deletions
diff --git a/resolv/Versions b/resolv/Versions
index 2449a41cea..fcbaba5a47 100644
--- a/resolv/Versions
+++ b/resolv/Versions
@@ -67,6 +67,9 @@ libresolv {
     __res_nquerydomain; __res_nsearch; __res_nsend; __res_query;
     __res_querydomain; __res_search;
   }
+  GLIBC_2.3.2 {
+    __p_rcode;
+  };
   GLIBC_PRIVATE {
     # Needed in libnss_dns.
     __ns_name_unpack; __ns_name_ntop;
diff --git a/resolv/resolv.h b/resolv/resolv.h
index 6454f9c3f6..e8f384db92 100644
--- a/resolv/resolv.h
+++ b/resolv/resolv.h
@@ -260,21 +260,6 @@ int		res_send __P((const u_char *, int, u_char *, int));
 __END_DECLS
 #endif
 
-#if !defined(SHARED_LIBBIND) || defined(LIB)
-/*
- * If libbind is a shared object (well, DLL anyway)
- * these externs break the linker when resolv.h is
- * included by a lib client (like named)
- * Make them go away if a client is including this
- *
- */
-extern const struct res_sym __p_key_syms[];
-extern const struct res_sym __p_cert_syms[];
-extern const struct res_sym __p_class_syms[];
-extern const struct res_sym __p_type_syms[];
-extern const struct res_sym __p_rcode_syms[];
-#endif /* SHARED_LIBBIND */
-
 #define b64_ntop		__b64_ntop
 #define b64_pton		__b64_pton
 #define dn_comp			__dn_comp