From: Cyrill Gorcunov <gorcunov@gmail.com> To: tml <tarantool-patches@dev.tarantool.org> Cc: Alexander Turenko <alexander.turenko@tarantool.org> Subject: [Tarantool-patches] [PATCH 00/22] Use void type in empty arguments list Date: Fri, 3 Jul 2020 17:45:04 +0300 [thread overview] Message-ID: <20200703144526.522358-1-gorcunov@gmail.com> (raw) Otherwise compiler treats function as accepting va_args making code complex on binary level. It's been boring and time consuming task to walk over sources and fixup the snippets but someone has to do id. I split changes on per-file basis for easier application. issue https://github.com/tarantool/tarantool/issues/4718 branch gorcunov/gh-4718-use-void Cyrill Gorcunov (22): version: use void for empty args crc32: use void for empty args title: use void for empty args proc_title: use void for empty args systemd: use void for empty args main: use void for empty args say: use void for empty args memory: use void for empty args fiber: use void for empty args diag: use void for empty args coio: use void for empty args cbus: use void for empty args backtrace: use void for empty args call: use void for empty args call_id_cache: use void for empty args schema: use void for empty args sql: use void for empty args user: use void for empty args session: use void for empty args iproto: use void for empty args wal: use void for empty args box: use void for empty args src/box/box.cc | 12 ++++++------ src/box/box.h | 4 ++-- src/box/coll_id_cache.c | 4 ++-- src/box/coll_id_cache.h | 4 ++-- src/box/iproto.cc | 12 ++++++------ src/box/iproto.h | 4 ++-- src/box/schema.cc | 4 ++-- src/box/schema.h | 6 +++--- src/box/session.cc | 8 ++++---- src/box/session.h | 10 +++++----- src/box/sql.c | 6 +++--- src/box/sql.h | 6 +++--- src/box/sql/build.c | 2 +- src/box/sql_stmt_cache.c | 4 ++-- src/box/sql_stmt_cache.h | 2 +- src/box/user.cc | 6 +++--- src/box/user.h | 4 ++-- src/box/wal.c | 8 ++++---- src/box/wal.h | 8 ++++---- src/crc32.c | 2 +- src/crc32.h | 2 +- src/lib/coll/coll.c | 4 ++-- src/lib/coll/coll.h | 4 ++-- src/lib/core/backtrace.cc | 6 +++--- src/lib/core/backtrace.h | 4 ++-- src/lib/core/cbus.c | 4 ++-- src/lib/core/cbus.h | 7 ++----- src/lib/core/coio_file.c | 2 +- src/lib/core/coio_file.h | 2 +- src/lib/core/diag.c | 2 +- src/lib/core/diag.h | 2 +- src/lib/core/fiber.c | 18 +++++++++--------- src/lib/core/fiber.h | 18 +++++++++--------- src/lib/core/fiber_channel.c | 2 +- src/lib/core/fiber_channel.h | 2 +- src/lib/core/fiber_cond.c | 2 +- src/lib/core/fiber_pool.c | 4 ++-- src/lib/core/memory.c | 4 ++-- src/lib/core/memory.h | 4 ++-- src/lib/core/say.c | 4 ++-- src/lib/core/say.h | 4 ++-- src/main.cc | 8 ++++---- src/main.h | 2 +- src/proc_title.c | 2 +- src/proc_title.h | 2 +- src/systemd.c | 4 ++-- src/systemd.h | 4 ++-- src/title.c | 4 ++-- src/title.h | 4 ++-- src/version.c | 2 +- 50 files changed, 123 insertions(+), 126 deletions(-) base-commit: 4c7d8281502b1a26c59ffc9a87e082e7e8826932 -- 2.26.2
next reply other threads:[~2020-07-03 14:45 UTC|newest] Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-07-03 14:45 Cyrill Gorcunov [this message] 2020-07-03 14:45 ` [Tarantool-patches] [PATCH 01/22] version: use void for empty args Cyrill Gorcunov 2020-07-03 14:45 ` [Tarantool-patches] [PATCH 02/22] crc32: " Cyrill Gorcunov 2020-07-03 14:45 ` [Tarantool-patches] [PATCH 03/22] title: " Cyrill Gorcunov 2020-07-03 14:45 ` [Tarantool-patches] [PATCH 04/22] proc_title: " Cyrill Gorcunov 2020-07-03 14:45 ` [Tarantool-patches] [PATCH 05/22] systemd: " Cyrill Gorcunov 2020-07-03 14:45 ` [Tarantool-patches] [PATCH 06/22] main: " Cyrill Gorcunov 2020-07-03 14:45 ` [Tarantool-patches] [PATCH 07/22] say: " Cyrill Gorcunov 2020-07-03 14:45 ` [Tarantool-patches] [PATCH 08/22] memory: " Cyrill Gorcunov 2020-07-03 14:45 ` [Tarantool-patches] [PATCH 09/22] fiber: " Cyrill Gorcunov 2020-07-03 14:45 ` [Tarantool-patches] [PATCH 10/22] diag: " Cyrill Gorcunov 2020-07-03 14:45 ` [Tarantool-patches] [PATCH 11/22] coio: " Cyrill Gorcunov 2020-07-03 14:45 ` [Tarantool-patches] [PATCH 12/22] cbus: " Cyrill Gorcunov 2020-07-03 14:45 ` [Tarantool-patches] [PATCH 13/22] backtrace: " Cyrill Gorcunov 2020-07-03 14:45 ` [Tarantool-patches] [PATCH 14/22] call: " Cyrill Gorcunov 2020-07-03 14:45 ` [Tarantool-patches] [PATCH 15/22] call_id_cache: " Cyrill Gorcunov 2020-07-03 14:45 ` [Tarantool-patches] [PATCH 16/22] schema: " Cyrill Gorcunov 2020-07-03 14:45 ` [Tarantool-patches] [PATCH 17/22] sql: " Cyrill Gorcunov 2020-07-03 14:45 ` [Tarantool-patches] [PATCH 18/22] user: " Cyrill Gorcunov 2020-07-03 14:45 ` [Tarantool-patches] [PATCH 19/22] session: " Cyrill Gorcunov 2020-07-03 14:45 ` [Tarantool-patches] [PATCH 20/22] iproto: " Cyrill Gorcunov 2020-07-03 14:45 ` [Tarantool-patches] [PATCH 21/22] wal: " Cyrill Gorcunov 2020-07-03 14:45 ` [Tarantool-patches] [PATCH 22/22] box: " Cyrill Gorcunov 2020-07-03 21:23 ` [Tarantool-patches] [PATCH 00/22] Use void type in empty arguments list Vladislav Shpilevoy 2020-07-04 7:30 ` Cyrill Gorcunov 2020-07-05 21:19 ` Timur Safin 2020-07-05 21:37 ` Cyrill Gorcunov 2020-07-06 13:33 ` Timur Safin 2020-07-06 15:09 ` Cyrill Gorcunov 2020-07-08 12:55 ` Kirill Yukhin
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20200703144526.522358-1-gorcunov@gmail.com \ --to=gorcunov@gmail.com \ --cc=alexander.turenko@tarantool.org \ --cc=tarantool-patches@dev.tarantool.org \ --subject='Re: [Tarantool-patches] [PATCH 00/22] Use void type in empty arguments list' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox