diff options
author | 2015-09-14 11:52:49 +0000 | |
---|---|---|
committer | 2015-09-14 11:52:49 +0000 | |
commit | 5826fd8c7d12c123a8902345d0fa32381e3d949d (patch) | |
tree | f27c982d319b41efd9639667fdbab30d836df636 /lib/libc/asr/asr.c | |
parent | When the active pane changes, redraw panes if the style has (diff) | |
download | wireguard-openbsd-5826fd8c7d12c123a8902345d0fa32381e3d949d.tar.xz wireguard-openbsd-5826fd8c7d12c123a8902345d0fa32381e3d949d.zip |
Wrap <asr.h> so internal calls go direct and all the symbols are weak
Diffstat (limited to 'lib/libc/asr/asr.c')
-rw-r--r-- | lib/libc/asr/asr.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/asr/asr.c b/lib/libc/asr/asr.c index 8c3f15e8f0c..6f767d27560 100644 --- a/lib/libc/asr/asr.c +++ b/lib/libc/asr/asr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: asr.c,v 1.40 2015/09/09 15:49:34 deraadt Exp $ */ +/* $OpenBSD: asr.c,v 1.41 2015/09/14 11:52:49 guenther Exp $ */ /* * Copyright (c) 2010-2012 Eric Faurot <eric@openbsd.org> * @@ -211,6 +211,7 @@ asr_run(struct asr_query *as, struct asr_result *ar) return (r); } +DEF_WEAK(asr_run); /* * Same as above, but run in a loop that handles the fd conditions result. @@ -238,6 +239,7 @@ asr_run_sync(struct asr_query *as, struct asr_result *ar) return (r); } +DEF_WEAK(asr_run_sync); /* * Create a new async request of the given "type" on the async context "ac". |