summaryrefslogtreecommitdiff
path: root/src/lib/libc/net/res_debug_syms.c
diff options
context:
space:
mode:
authorguenther <>2015-10-05 02:57:16 +0000
committerguenther <>2015-10-05 02:57:16 +0000
commitf97ab44d7b0a4185f9d2a463b1362407042c517f (patch)
tree19bc0ad555c1629a8a031c8a4cb1f1ca5c332263 /src/lib/libc/net/res_debug_syms.c
parent726014e92eca3a02222ed5d31eebedde1b32b828 (diff)
downloadopenbsd-f97ab44d7b0a4185f9d2a463b1362407042c517f.tar.gz
openbsd-f97ab44d7b0a4185f9d2a463b1362407042c517f.tar.bz2
openbsd-f97ab44d7b0a4185f9d2a463b1362407042c517f.zip
Wrap <resolv.h> so that internal calls go direct
ok millert@
Diffstat (limited to 'src/lib/libc/net/res_debug_syms.c')
-rw-r--r--src/lib/libc/net/res_debug_syms.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/libc/net/res_debug_syms.c b/src/lib/libc/net/res_debug_syms.c
index 7e7d22c914..fc26f03e74 100644
--- a/src/lib/libc/net/res_debug_syms.c
+++ b/src/lib/libc/net/res_debug_syms.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: res_debug_syms.c,v 1.1 2005/08/06 20:30:04 espie Exp $ */ 1/* $OpenBSD: res_debug_syms.c,v 1.2 2015/10/05 02:57:16 guenther Exp $ */
2 2
3/* 3/*
4 * ++Copyright++ 1985, 1990, 1993 4 * ++Copyright++ 1985, 1990, 1993
@@ -168,6 +168,7 @@ __sym_ntos(const struct res_sym *syms, int number, int *success)
168 *success = 0; 168 *success = 0;
169 return (unname); 169 return (unname);
170} 170}
171DEF_STRONG(__sym_ntos);
171 172
172/* 173/*
173 * Return a string for the type 174 * Return a string for the type
@@ -177,6 +178,7 @@ __p_type(int type)
177{ 178{
178 return (__sym_ntos (__p_type_syms, type, (int *)0)); 179 return (__sym_ntos (__p_type_syms, type, (int *)0));
179} 180}
181DEF_STRONG(__p_type);
180 182
181/* 183/*
182 * Return a mnemonic for class 184 * Return a mnemonic for class
@@ -186,4 +188,5 @@ __p_class(int class)
186{ 188{
187 return (__sym_ntos (__p_class_syms, class, (int *)0)); 189 return (__sym_ntos (__p_class_syms, class, (int *)0));
188} 190}
191DEF_STRONG(__p_class);
189 192