mirror of
https://github.com/curl/curl.git
synced 2026-08-25 16:23:36 +03:00
lib: fix formatting nits (part 3)
From `lib/h` to `lib/w`. part 1:47a1ab2ebe#19764 part 2:86b346443b#19800 Closes #19811
This commit is contained in:
parent
dc8c0d54a5
commit
c3b030b860
102 changed files with 2001 additions and 2226 deletions
|
|
@ -28,20 +28,20 @@
|
|||
|
||||
#ifdef USE_EVENTFD
|
||||
|
||||
#define wakeup_write write
|
||||
#define wakeup_read read
|
||||
#define wakeup_close close
|
||||
#define wakeup_create(p,nb) Curl_eventfd(p,nb)
|
||||
#define wakeup_write write
|
||||
#define wakeup_read read
|
||||
#define wakeup_close close
|
||||
#define wakeup_create(p, nb) Curl_eventfd(p, nb)
|
||||
|
||||
#include <curl/curl.h>
|
||||
int Curl_eventfd(curl_socket_t socks[2], bool nonblocking);
|
||||
|
||||
#elif defined(HAVE_PIPE)
|
||||
|
||||
#define wakeup_write write
|
||||
#define wakeup_read read
|
||||
#define wakeup_close close
|
||||
#define wakeup_create(p,nb) Curl_pipe(p,nb)
|
||||
#define wakeup_write write
|
||||
#define wakeup_read read
|
||||
#define wakeup_close close
|
||||
#define wakeup_create(p, nb) Curl_pipe(p, nb)
|
||||
|
||||
#include <curl/curl.h>
|
||||
int Curl_pipe(curl_socket_t socks[2], bool nonblocking);
|
||||
|
|
@ -67,7 +67,7 @@ int Curl_pipe(curl_socket_t socks[2], bool nonblocking);
|
|||
#endif
|
||||
|
||||
#define USE_SOCKETPAIR
|
||||
#define wakeup_create(p,nb) \
|
||||
#define wakeup_create(p, nb) \
|
||||
Curl_socketpair(SOCKETPAIR_FAMILY, SOCKETPAIR_TYPE, 0, p, nb)
|
||||
|
||||
#endif /* USE_EVENTFD */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue