diff options
author | Ulrich Drepper <drepper@redhat.com> | 2004-09-15 08:25:49 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2004-09-15 08:25:49 +0000 |
commit | d19687d6ebc545b633e14c07429f7892a599d0b9 (patch) | |
tree | 033b6f123581d67026b2375b77175a93dfdc32dd /misc/sys | |
parent | 5d156bb641c71070aab9129fe1dac03287b9938a (diff) | |
download | glibc-d19687d6ebc545b633e14c07429f7892a599d0b9.zip glibc-d19687d6ebc545b633e14c07429f7892a599d0b9.tar.gz glibc-d19687d6ebc545b633e14c07429f7892a599d0b9.tar.bz2 |
Update.
2004-09-15 Ulrich Drepper <drepper@redhat.com>
* 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.
Diffstat (limited to 'misc/sys')
-rw-r--r-- | misc/sys/cdefs.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/misc/sys/cdefs.h b/misc/sys/cdefs.h index 1449d2e..1a9b0e7 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. */ |