1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-30 22:43:12 +03:00

resolv: Reindent preprocessor conditionals following cleanups

This commit is contained in:
Florian Weimer
2016-04-28 16:53:56 +02:00
parent e01eef67ba
commit ed3c7876cc
4 changed files with 18 additions and 12 deletions

View File

@ -1,3 +1,9 @@
2016-04-28 Florian Weimer <fweimer@redhat.com>
* resolv/inet_addr.c: Reindent preprocessor conditionals.
* resolv/res_init.c: Likewise.
* resolv/res_mkquery.c: Likewise.
2016-04-28 Florian Weimer <fweimer@redhat.com> 2016-04-28 Florian Weimer <fweimer@redhat.com>
* resolv/res_init.c (isascii): Do not define. Use definition in * resolv/res_init.c (isascii): Do not define. Use definition in

View File

@ -72,11 +72,11 @@
#include <ctype.h> #include <ctype.h>
# include <endian.h> #include <endian.h>
# include <stdint.h> #include <stdint.h>
# include <stdlib.h> #include <stdlib.h>
# include <limits.h> #include <limits.h>
# include <errno.h> #include <errno.h>
/* /*
* Ascii internet address interpretation routine. * Ascii internet address interpretation routine.

View File

@ -542,7 +542,7 @@ res_nclose(res_state statp)
} }
libc_hidden_def (__res_nclose) libc_hidden_def (__res_nclose)
# ifdef _LIBC_REENTRANT #ifdef _LIBC_REENTRANT
/* This is called when a thread is exiting to free resources held in _res. */ /* This is called when a thread is exiting to free resources held in _res. */
static void __attribute__ ((section ("__libc_thread_freeres_fn"))) static void __attribute__ ((section ("__libc_thread_freeres_fn")))
res_thread_freeres (void) res_thread_freeres (void)
@ -558,4 +558,4 @@ res_thread_freeres (void)
} }
text_set_element (__libc_thread_subfreeres, res_thread_freeres); text_set_element (__libc_thread_subfreeres, res_thread_freeres);
text_set_element (__libc_subfreeres, res_thread_freeres); text_set_element (__libc_subfreeres, res_thread_freeres);
# endif #endif

View File

@ -77,11 +77,11 @@
/* Options. Leave them on. */ /* Options. Leave them on. */
/* #define DEBUG */ /* #define DEBUG */
# include <hp-timing.h> #include <hp-timing.h>
# include <stdint.h> #include <stdint.h>
# if HP_TIMING_AVAIL #if HP_TIMING_AVAIL
# define RANDOM_BITS(Var) { uint64_t v64; HP_TIMING_NOW (v64); Var = v64; } # define RANDOM_BITS(Var) { uint64_t v64; HP_TIMING_NOW (v64); Var = v64; }
# endif #endif
/* /*
* Form all types of queries. * Form all types of queries.