summaryrefslogtreecommitdiff
path: root/resolv/res_libc.c
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2016-04-28 11:01:01 +0200
committerFlorian Weimer <fweimer@redhat.com>2016-04-28 12:53:49 +0200
commitc99c925b8b7ce7d023943878a41ad964c5ab7a04 (patch)
treed7310120ea798bd0b67fbc1297008facc904a5b1 /resolv/res_libc.c
parent1f32be054b640fa7bcbc46441e24e185ab5184e3 (diff)
resolv: Remove _LIBC conditionals
Diffstat (limited to 'resolv/res_libc.c')
-rw-r--r--resolv/res_libc.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/resolv/res_libc.c b/resolv/res_libc.c
index a8394e0e7b..a4b376f15b 100644
--- a/resolv/res_libc.c
+++ b/resolv/res_libc.c
@@ -15,6 +15,9 @@
* SOFTWARE.
*/
+/* This file contains the definitions related to res_init which are
+ linked into libc instead of libresolv. */
+
#include <atomic.h>
#include <limits.h>
#include <sys/types.h>
@@ -23,11 +26,6 @@
#include <resolv.h>
#include <libc-lock.h>
-
-/* The following bit is copied from res_data.c (where it is #ifdef'ed
- out) since res_init() should go into libc.so but the rest of that
- file should not. */
-
extern unsigned long long int __res_initstamp attribute_hidden;
/* We have atomic increment operations on 64-bit platforms. */
#if __WORDSIZE == 64