diff options
author | Jeff Hostetler <jeffhostetler@github.com> | 2023-11-22 20:18:34 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-11-23 02:30:32 +0100 |
commit | abcdb978ea13010357ef2bf265f7bf0c55f96dbe (patch) | |
tree | 7689e2828b62c670e672710364cf4ed0f563309a /trace2.h | |
parent | Git 2.42.1 (diff) | |
download | git-abcdb978ea13010357ef2bf265f7bf0c55f96dbe.tar.xz git-abcdb978ea13010357ef2bf265f7bf0c55f96dbe.zip |
trace2: fix signature of trace2_def_param() macro
Add `struct key_value_info` argument to `trace2_def_param()`.
In dc90208497 (trace2: plumb config kvi, 2023-06-28) a `kvi`
argument was added to `trace2_def_param_fl()` but the macro
was not up updated. Let's fix that.
Signed-off-by: Jeff Hostetler <jeffhostetler@github.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'trace2.h')
-rw-r--r-- | trace2.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -337,8 +337,8 @@ struct key_value_info; void trace2_def_param_fl(const char *file, int line, const char *param, const char *value, const struct key_value_info *kvi); -#define trace2_def_param(param, value) \ - trace2_def_param_fl(__FILE__, __LINE__, (param), (value)) +#define trace2_def_param(param, value, kvi) \ + trace2_def_param_fl(__FILE__, __LINE__, (param), (value), (kvi)) /* * Tell trace2 about a newly instantiated repo object and assign |