diff options
author | 2015-10-03 09:57:30 +0000 | |
---|---|---|
committer | 2015-10-03 09:57:30 +0000 | |
commit | 55f55055e8b506cd95b834c8d2abf23c8b6b5bf1 (patch) | |
tree | f1d89b857725c78d3e579bdb5087438bfcced352 /lib/libc/asr/asr.c | |
parent | If we care about placing core files from SUID programs in a safe place, (diff) | |
download | wireguard-openbsd-55f55055e8b506cd95b834c8d2abf23c8b6b5bf1.tar.xz wireguard-openbsd-55f55055e8b506cd95b834c8d2abf23c8b6b5bf1.zip |
missing asr* -> _asr* symbol rename for building with debug code
ok jca@
Diffstat (limited to 'lib/libc/asr/asr.c')
-rw-r--r-- | lib/libc/asr/asr.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libc/asr/asr.c b/lib/libc/asr/asr.c index 68d63c38d00..8d5300a2f61 100644 --- a/lib/libc/asr/asr.c +++ b/lib/libc/asr/asr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: asr.c,v 1.43 2015/09/20 14:19:21 eric Exp $ */ +/* $OpenBSD: asr.c,v 1.44 2015/10/03 09:57:30 eric Exp $ */ /* * Copyright (c) 2010-2012 Eric Faurot <eric@openbsd.org> * @@ -94,7 +94,7 @@ _asr_resolver(const char *conf) if (init == 0) { #ifdef DEBUG if (getenv("ASR_DEBUG")) - asr_debug = stderr; + _asr_debug = stderr; #endif init = 1; } @@ -135,7 +135,7 @@ _asr_resolver(const char *conf) } #ifdef DEBUG - asr_dump_config(asr_debug, asr); + _asr_dump_config(_asr_debug, asr); #endif return (asr); @@ -193,10 +193,10 @@ asr_run(struct asr_query *as, struct asr_result *ar) int r, saved_errno = errno; DPRINT("asr: asr_run(%p, %p) %s ctx=[%p]\n", as, ar, - asr_querystr(as->as_type), as->as_ctx); + _asr_querystr(as->as_type), as->as_ctx); r = as->as_run(as, ar); - DPRINT("asr: asr_run(%p, %p) -> %s", as, ar, asr_transitionstr(r)); + DPRINT("asr: asr_run(%p, %p) -> %s", as, ar, _asr_transitionstr(r)); #ifdef DEBUG if (r == ASYNC_COND) #endif |