diff options
author | 2015-09-09 15:49:34 +0000 | |
---|---|---|
committer | 2015-09-09 15:49:34 +0000 | |
commit | 253ef89211b2c7bb1270b67fc8f922ab7cd68779 (patch) | |
tree | 9dbcb2305237ee451a56969f7e0c1034220ae3ee /lib/libc/asr/res_init.c | |
parent | The mplock implementations on MP-enabled mips64 platforms, octeon and (diff) | |
download | wireguard-openbsd-253ef89211b2c7bb1270b67fc8f922ab7cd68779.tar.xz wireguard-openbsd-253ef89211b2c7bb1270b67fc8f922ab7cd68779.zip |
Hide all unnecessary asr / resolver related API with _ prefixes.
direction & ok guenther
Diffstat (limited to 'lib/libc/asr/res_init.c')
-rw-r--r-- | lib/libc/asr/res_init.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/asr/res_init.c b/lib/libc/asr/res_init.c index 309f779aac1..130646e01dc 100644 --- a/lib/libc/asr/res_init.c +++ b/lib/libc/asr/res_init.c @@ -1,4 +1,4 @@ -/* $OpenBSD: res_init.c,v 1.4 2014/03/26 18:13:15 eric Exp $ */ +/* $OpenBSD: res_init.c,v 1.5 2015/09/09 15:49:34 deraadt Exp $ */ /* * Copyright (c) 2012 Eric Faurot <eric@openbsd.org> * @@ -41,7 +41,7 @@ res_init(void) struct asr_ctx *ac; int i; - ac = asr_use_resolver(NULL); + ac = _asr_use_resolver(NULL); /* * The first thread to call res_init() will setup the global _res @@ -82,7 +82,7 @@ res_init(void) ac->ac_dbcount = strlen(ac->ac_db); } - asr_ctx_unref(ac); + _asr_ctx_unref(ac); return (0); } |