diff options
author | Alejandro Colomar <alx.manpages@gmail.com> | 2021-12-19 00:58:18 +0100 |
---|---|---|
committer | Alejandro Colomar <alx.manpages@gmail.com> | 2022-04-26 12:38:48 +0200 |
commit | a3d19f71a205d31ce141dcfd8880f7ed13bd65e5 (patch) | |
tree | da2cbedff9645553ec4b2ea20c1d509ef4f46d49 /src/nxt_work_queue.h | |
parent | bce0f432c402ad18718aecab227b663160682ea4 (diff) | |
download | unit-a3d19f71a205d31ce141dcfd8880f7ed13bd65e5.tar.gz unit-a3d19f71a205d31ce141dcfd8880f7ed13bd65e5.tar.bz2 |
Fixed indentation.
Some lines (incorrectly) had an indentation of 3 or 5, or 7 or 9,
or 11 or 13, or 15 or 17 spaces instead of 4, 8, 12, or 16. Fix them.
Found with:
$ find src -type f | xargs grep -n '^ [^ ]';
$ find src -type f | xargs grep -n '^ [^ *]';
$ find src -type f | xargs grep -n '^ [^ ]';
$ find src -type f | xargs grep -n '^ [^ *]';
$ find src -type f | xargs grep -n '^ [^ +]';
$ find src -type f | xargs grep -n '^ [^ *+]';
$ find src -type f | xargs grep -n '^ [^ +]';
$ find src -type f | xargs grep -n '^ [^ *+]';
Diffstat (limited to 'src/nxt_work_queue.h')
-rw-r--r-- | src/nxt_work_queue.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nxt_work_queue.h b/src/nxt_work_queue.h index 6c2d6c23..ffa21d27 100644 --- a/src/nxt_work_queue.h +++ b/src/nxt_work_queue.h @@ -16,12 +16,12 @@ struct nxt_task_s { uint32_t ident; nxt_work_t *next_work; - /* TODO: exception_handler, prev/next task, subtasks. */ + /* TODO: exception_handler, prev/next task, subtasks. */ }; #define nxt_task_next_ident() \ - ((uint32_t) nxt_atomic_fetch_add(&nxt_task_ident, 1) & 0x3FFFFFFF) + ((uint32_t) nxt_atomic_fetch_add(&nxt_task_ident, 1) & 0x3FFFFFFF) /* |