Re: [PATCH v4 27/28] trailer_set_*(): put out parameter at the end
- From
Christian Couder <christian.couder@gmail.com>
- Date
- Feb 12, 2024, 23:39 UTC
- Message-ID
- <CAP8UFD2-M20uuo4G8HykRL=1g9634wKUT9R6DBG6nmLBqGpxzw@mail.gmail.com>
- In-Reply-To
- <26df2514acbf4d51f40f4b1b9f33a357fa424ac7.1707196348.git.gitgitgadget@gmail.com>
On Tue, Feb 6, 2024 at 6:12 AM Linus Arver via GitGitGadget <gitgitgadget@gmail.com> wrote:
Show 8 quoted lines
> > From: Linus Arver <linusa@google.com> > > The new trailer_config_set_*() functions which were introduced a few > patches ago put the out parameter (the variable being mutated) at the > end of the parameter list. > > Put the out parameter at the end for these functions for these existing
s/for these functions for these/for the/
> trailer_set_*() functions for consistency. This also avoids confusion > for API users because otherwise these two sets of functions look rather > similar in <trailer.h> even though they have completely different out > parameters.