summaryrefslogtreecommitdiffstats
path: root/lib/libc/asr/asr.c
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2015-09-14 11:52:49 +0000
committerguenther <guenther@openbsd.org>2015-09-14 11:52:49 +0000
commit5826fd8c7d12c123a8902345d0fa32381e3d949d (patch)
treef27c982d319b41efd9639667fdbab30d836df636 /lib/libc/asr/asr.c
parentWhen the active pane changes, redraw panes if the style has (diff)
downloadwireguard-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.c4
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".