summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToomas Soome <tsoome@me.com>2020-05-17 10:06:01 +0300
committerToomas Soome <tsoome@me.com>2021-02-08 17:06:16 +0200
commitf4fe62a3c26a7b15283589c57a3c10ed9695b529 (patch)
treeb4578125b34022f29af0a3daacadae266f677268
parent13904da86c95bce026575f75b430075604bb28e4 (diff)
downloadillumos-joyent-f4fe62a3c26a7b15283589c57a3c10ed9695b529.tar.gz
13497 libresolv: symbol 'h_errno' is multiply-defined
Reviewed by: Rich Lowe <richlowe@richlowe.net> Reviewed by: Marcel Telka <marcel@telka.sk> Approved by: Dan McDonald <danmcd@joyent.com>
-rw-r--r--usr/src/lib/libresolv/res_query.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr/src/lib/libresolv/res_query.c b/usr/src/lib/libresolv/res_query.c
index 1c4d95b7c6..0ee63f7fcd 100644
--- a/usr/src/lib/libresolv/res_query.c
+++ b/usr/src/lib/libresolv/res_query.c
@@ -26,7 +26,7 @@
*/
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
-/* All Rights Reserved */
+/* All Rights Reserved */
/*
* University Copyright- Copyright (c) 1982, 1986, 1988
@@ -58,8 +58,6 @@
#define MAXPACKET 1024
#endif
-int h_errno;
-
/*
* Formulate a normal query, send, and await answer.
* Returned answer is placed in supplied buffer "answer".