diff options
author | Jeremie Courreges-Anglas <jca@cvs.openbsd.org> | 2018-03-13 12:25:35 +0000 |
---|---|---|
committer | Jeremie Courreges-Anglas <jca@cvs.openbsd.org> | 2018-03-13 12:25:35 +0000 |
commit | 8449427a6bcd373843363cf05df2497f09bff926 (patch) | |
tree | fd44d5ca4df59aee2584026cef30b57fc11238db /lib | |
parent | dbc572b57f0c4abf56a3886e8dbfb6fef964abed (diff) |
Fix comments
ok eric@ a while ago
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/asr/asr.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/lib/libc/asr/asr.c b/lib/libc/asr/asr.c index c73c9850597..d7546512a46 100644 --- a/lib/libc/asr/asr.c +++ b/lib/libc/asr/asr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: asr.c,v 1.58 2018/02/06 13:00:48 eric Exp $ */ +/* $OpenBSD: asr.c,v 1.59 2018/03/13 12:25:34 jca Exp $ */ /* * Copyright (c) 2010-2012 Eric Faurot <eric@openbsd.org> * @@ -162,10 +162,6 @@ asr_run(struct asr_query *as, struct asr_result *ar) } DEF_WEAK(asr_run); -/* - * Same as above, but run in a loop that handles the fd conditions result. - */ - static int poll_intrsafe(struct pollfd *fds, nfds_t nfds, int timeout) { @@ -187,6 +183,9 @@ poll_intrsafe(struct pollfd *fds, nfds_t nfds, int timeout) return r; } +/* + * Same as asr_run, but run in a loop that handles the fd conditions result. + */ int asr_run_sync(struct asr_query *as, struct asr_result *ar) { @@ -222,7 +221,7 @@ DEF_WEAK(asr_run_sync); /* * Create a new async request of the given "type" on the async context "ac". - * Take a reference on it so it does not gets deleted while the async query + * Take a reference on it so it does not get deleted while the async query * is running. */ struct asr_query * |