[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 01/13: MHD_itc_clear_(): simplified eventfd version
From: |
gnunet |
Subject: |
[libmicrohttpd] 01/13: MHD_itc_clear_(): simplified eventfd version |
Date: |
Wed, 27 Apr 2022 21:25:09 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit 8f444c321f95f3d4c20363f397c4bf3a91b09a1d
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Wed Apr 27 13:51:33 2022 +0300
MHD_itc_clear_(): simplified eventfd version
---
src/microhttpd/mhd_itc.h | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/microhttpd/mhd_itc.h b/src/microhttpd/mhd_itc.h
index 27b36392..ad0d14e7 100644
--- a/src/microhttpd/mhd_itc.h
+++ b/src/microhttpd/mhd_itc.h
@@ -107,10 +107,10 @@ static const uint64_t _MHD_itc_wr_data = 1;
* Clear signaled state on @a itc
* @param itc the itc to clear
*/
-#define MHD_itc_clear_(itc) \
- do { uint64_t __b; int __r; \
- __r = read ((itc).fd, &__b, sizeof(__b)); \
- (void) __r; } while (0)
+#define MHD_itc_clear_(itc) \
+ do { uint64_t __b; \
+ (void) read ((itc).fd, &__b, sizeof(__b)); \
+ } while (0)
/**
* Destroy previously initialised ITC. Note that close()
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [libmicrohttpd] branch master updated (54e12358 -> d14fc3b3), gnunet, 2022/04/27
- [libmicrohttpd] 04/13: thread-per-connection: do not cache connection timeout, gnunet, 2022/04/27
- [libmicrohttpd] 03/13: Response from callback: do allow negative return amounts, except predefined values, gnunet, 2022/04/27
- [libmicrohttpd] 01/13: MHD_itc_clear_(): simplified eventfd version,
gnunet <=
- [libmicrohttpd] 08/13: Added new function MHD_get_timeout64s(), gnunet, 2022/04/27
- [libmicrohttpd] 02/13: Fixed compiler warnings of implicit casting, which could change the value, gnunet, 2022/04/27
- [libmicrohttpd] 06/13: Added new function MHD_get_timeout64(), gnunet, 2022/04/27
- [libmicrohttpd] 09/13: daemon: added workaround for 'uncrustify' broken formatting, gnunet, 2022/04/27
- [libmicrohttpd] 07/13: get_timeout_millisec_(): refactoring for readability, gnunet, 2022/04/27
- [libmicrohttpd] 05/13: thread-per-connection: improved timeout handling for 'poll()' mode, fixed short busy-waiting, gnunet, 2022/04/27
- [libmicrohttpd] 10/13: Use new function MHD_get_timeout64() in MHD code, gnunet, 2022/04/27
- [libmicrohttpd] 11/13: mhd_send: added safe default value if sysconf() is broken, gnunet, 2022/04/27
- [libmicrohttpd] 12/13: Fixes related to implicit cast warnings, gnunet, 2022/04/27
- [libmicrohttpd] 13/13: MHD_get_timeout*(): improved doxy, gnunet, 2022/04/27