James Kuszmaul | b13e13f | 2023-11-22 20:44:04 -0800 | [diff] [blame^] | 1 | From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 |
James Kuszmaul | cf32412 | 2023-01-14 14:07:17 -0800 | [diff] [blame] | 2 | From: PJ Reiniger <pj.reiniger@gmail.com> |
| 3 | Date: Tue, 26 Apr 2022 15:28:52 -0400 |
James Kuszmaul | b13e13f | 2023-11-22 20:44:04 -0800 | [diff] [blame^] | 4 | Subject: [PATCH 06/10] Style / comments cleanup |
James Kuszmaul | cf32412 | 2023-01-14 14:07:17 -0800 | [diff] [blame] | 5 | |
| 6 | --- |
| 7 | src/fs-poll.c | 1 + |
| 8 | src/unix/core.c | 1 + |
James Kuszmaul | cf32412 | 2023-01-14 14:07:17 -0800 | [diff] [blame] | 9 | src/uv-common.c | 1 + |
| 10 | src/win/process.c | 1 - |
| 11 | src/win/winsock.c | 1 + |
James Kuszmaul | b13e13f | 2023-11-22 20:44:04 -0800 | [diff] [blame^] | 12 | 5 files changed, 4 insertions(+), 1 deletion(-) |
James Kuszmaul | cf32412 | 2023-01-14 14:07:17 -0800 | [diff] [blame] | 13 | |
| 14 | diff --git a/src/fs-poll.c b/src/fs-poll.c |
James Kuszmaul | b13e13f | 2023-11-22 20:44:04 -0800 | [diff] [blame^] | 15 | index 5a39daed095502b2db34f23fcaf0ab04f31f96ff..1a7ca70d62c71f6eaef2b9985796cc46a6438869 100644 |
James Kuszmaul | cf32412 | 2023-01-14 14:07:17 -0800 | [diff] [blame] | 16 | --- a/src/fs-poll.c |
| 17 | +++ b/src/fs-poll.c |
| 18 | @@ -34,6 +34,7 @@ |
| 19 | #include <stdlib.h> |
| 20 | #include <string.h> |
| 21 | |
| 22 | + |
| 23 | struct poll_ctx { |
| 24 | uv_fs_poll_t* parent_handle; |
| 25 | int busy_polling; |
| 26 | diff --git a/src/unix/core.c b/src/unix/core.c |
James Kuszmaul | b13e13f | 2023-11-22 20:44:04 -0800 | [diff] [blame^] | 27 | index 268fc9652f437eb0d0cda2a9e0b06b9e91eb9742..f53adc156a7c454c492abaeac29d90be436785fc 100644 |
James Kuszmaul | cf32412 | 2023-01-14 14:07:17 -0800 | [diff] [blame] | 28 | --- a/src/unix/core.c |
| 29 | +++ b/src/unix/core.c |
James Kuszmaul | b13e13f | 2023-11-22 20:44:04 -0800 | [diff] [blame^] | 30 | @@ -575,6 +575,7 @@ int uv__accept(int sockfd) { |
James Kuszmaul | cf32412 | 2023-01-14 14:07:17 -0800 | [diff] [blame] | 31 | return peerfd; |
| 32 | } |
| 33 | |
| 34 | + |
| 35 | #if defined(__APPLE__) |
| 36 | #pragma GCC diagnostic push |
| 37 | #pragma GCC diagnostic ignored "-Wdollar-in-identifier-extension" |
James Kuszmaul | cf32412 | 2023-01-14 14:07:17 -0800 | [diff] [blame] | 38 | diff --git a/src/uv-common.c b/src/uv-common.c |
James Kuszmaul | b13e13f | 2023-11-22 20:44:04 -0800 | [diff] [blame^] | 39 | index cd10b36b4a393e325ea03b93eb9897193ca9800b..bfcc3ef10f4fd7763221638947da6e02e7a17c33 100644 |
James Kuszmaul | cf32412 | 2023-01-14 14:07:17 -0800 | [diff] [blame] | 40 | --- a/src/uv-common.c |
| 41 | +++ b/src/uv-common.c |
James Kuszmaul | b13e13f | 2023-11-22 20:44:04 -0800 | [diff] [blame^] | 42 | @@ -799,6 +799,7 @@ void uv__fs_readdir_cleanup(uv_fs_t* req) { |
James Kuszmaul | cf32412 | 2023-01-14 14:07:17 -0800 | [diff] [blame] | 43 | } |
| 44 | } |
| 45 | |
| 46 | + |
| 47 | #ifdef __clang__ |
| 48 | # pragma clang diagnostic push |
| 49 | # pragma clang diagnostic ignored "-Wvarargs" |
| 50 | diff --git a/src/win/process.c b/src/win/process.c |
James Kuszmaul | b13e13f | 2023-11-22 20:44:04 -0800 | [diff] [blame^] | 51 | index 2b1b46259959867482079962d0ea44246a42e7cb..18816d3b1e8c863f8ca74fe0104de1aecd0ae3fa 100644 |
James Kuszmaul | cf32412 | 2023-01-14 14:07:17 -0800 | [diff] [blame] | 52 | --- a/src/win/process.c |
| 53 | +++ b/src/win/process.c |
| 54 | @@ -35,7 +35,6 @@ |
| 55 | #include "handle-inl.h" |
| 56 | #include "req-inl.h" |
| 57 | |
| 58 | - |
| 59 | #define SIGKILL 9 |
| 60 | |
| 61 | |
| 62 | diff --git a/src/win/winsock.c b/src/win/winsock.c |
James Kuszmaul | b13e13f | 2023-11-22 20:44:04 -0800 | [diff] [blame^] | 63 | index 7843e9f13321c32419cebaacde82d30f471e11d7..cda82bc33c2c6e3dbfa9d978b5b40476228452bd 100644 |
James Kuszmaul | cf32412 | 2023-01-14 14:07:17 -0800 | [diff] [blame] | 64 | --- a/src/win/winsock.c |
| 65 | +++ b/src/win/winsock.c |
| 66 | @@ -25,6 +25,7 @@ |
| 67 | #include "uv.h" |
| 68 | #include "internal.h" |
| 69 | |
| 70 | + |
| 71 | #pragma comment(lib, "Ws2_32.lib") |
| 72 | |
| 73 | /* Whether there are any non-IFS LSPs stacked on TCP */ |