diff options
Diffstat (limited to 'resolv/res_libc.c')
-rw-r--r-- | resolv/res_libc.c | 8 |
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 |