aboutsummaryrefslogtreecommitdiff
path: root/libc/dns/resolv/res_debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/dns/resolv/res_debug.c')
-rw-r--r--libc/dns/resolv/res_debug.c20
1 files changed, 1 insertions, 19 deletions
diff --git a/libc/dns/resolv/res_debug.c b/libc/dns/resolv/res_debug.c
index 4fe75534d..5f889cb23 100644
--- a/libc/dns/resolv/res_debug.c
+++ b/libc/dns/resolv/res_debug.c
@@ -126,27 +126,9 @@ __RCSID("$NetBSD: res_debug.c,v 1.13 2012/06/25 22:32:45 abs Exp $");
#include <strings.h>
#include <time.h>
+extern const char * const _res_opcodes[];
extern const char * const _res_sectioncodes[];
-__LIBC_HIDDEN__ const char* const _res_opcodes[] = {
- "QUERY",
- "IQUERY",
- "CQUERYM",
- "CQUERYU", /* experimental */
- "NOTIFY", /* experimental */
- "UPDATE",
- "6",
- "7",
- "8",
- "9",
- "10",
- "11",
- "12",
- "13",
- "ZONEINIT",
- "ZONEREF",
-};
-
#ifndef _LIBC
/*
* Print the current options.