From d19687d6ebc545b633e14c07429f7892a599d0b9 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 15 Sep 2004 08:25:49 +0000 Subject: Update. 2004-09-15 Ulrich Drepper * nscd/Makefile (rountines): Add nscd_getai. (nscd-modules): Add aicache. * nscd/aicache.c: New file. * nscd/nscd_getai.c: New file. * nscd/cache.c (prune_cache): Handle GETAI request type. * nscd/connections.c: Add GETAI support in request handling. * nscd/nscd-client.h (request_type): Add GETAI. Define ai_response_header and struct nscd_ai_result types. (struct datahead): Add aidata field. Declare __nscd_getai. * nscd/nscd.c: Add getaddrinfo definition to catch problems. * nscd/nscd.h: Declare addhstai and readdhstai. * sysdeps/posix/getaddrinfo.c: Add support for using cached results. * nscd/nscd-client.h (struct datahead): Use uint8_t instead of bool. --- misc/sys/cdefs.h | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'misc') diff --git a/misc/sys/cdefs.h b/misc/sys/cdefs.h index 1449d2e502..1a9b0e78a1 100644 --- a/misc/sys/cdefs.h +++ b/misc/sys/cdefs.h @@ -54,11 +54,6 @@ # define __NTH(fct) fct # endif # endif -/* These two macros are not usde in glibc anymore. They are kept here - only because some other projects expect the macros to be - defined. */ -# define __P(args) args -# define __PMT(args) args #else /* Not GCC. */ @@ -66,8 +61,6 @@ # define __THROW # define __NTH(fct) fct -# define __P(args) args -# define __PMT(args) args # define __const const # define __signed signed @@ -75,6 +68,11 @@ #endif /* GCC. */ +/* These two macros are not used in glibc anymore. They are kept here + only because some other projects expect the macros to be defined. */ +#define __P(args) args +#define __PMT(args) args + /* For these things, GCC behaves the ANSI way normally, and the non-ANSI way under -traditional. */ -- cgit v1.2.3