diff options
| author | Laurent Vivier <lvivier@redhat.com> | 2025-06-20 11:36:41 +0200 |
|---|---|---|
| committer | Stefano Brivio <sbrivio@redhat.com> | 2025-07-18 19:19:24 +0200 |
| commit | 9e0423e13541e8da657f46dff71e841f40ee7391 (patch) | |
| tree | f3f5ee6f4139e2de28cc7b172729577c8679a1a4 /flow_table.h | |
| parent | 0293c6f4a316baa561a9b43388906707f8cf7e81 (diff) | |
| download | passt-9e0423e13541e8da657f46dff71e841f40ee7391.tar passt-9e0423e13541e8da657f46dff71e841f40ee7391.tar.gz passt-9e0423e13541e8da657f46dff71e841f40ee7391.tar.bz2 passt-9e0423e13541e8da657f46dff71e841f40ee7391.tar.lz passt-9e0423e13541e8da657f46dff71e841f40ee7391.tar.xz passt-9e0423e13541e8da657f46dff71e841f40ee7391.tar.zst passt-9e0423e13541e8da657f46dff71e841f40ee7391.zip | |
style: Fix 'Return' comment style
We always use imperative (no 'Returns:'), no tab after the ':' and
only one space, the first character is always lowercase.
This is fixed with:
sed -i "s/Returns:/Return:/;s/Return: /Return: /;s/Return: */Return: /;s/Return: \([A-Z]\)/Return: \L\1/" *.[ch]
And manually updated to fix alignment of multiline comment and words
that must keep uppercase (like IPv4, TCP, UDP, Layer-4).
Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'flow_table.h')
| -rw-r--r-- | flow_table.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/flow_table.h b/flow_table.h index 3f3f4b7..5ee13ac 100644 --- a/flow_table.h +++ b/flow_table.h @@ -140,7 +140,7 @@ static inline uint8_t pif_at_sidx(flow_sidx_t sidx) /** flowside_at_sidx() - Retrieve a specific flowside * @sidx: Flow & side index * - * Return: Flowside for the flow & side given by @sidx + * Return: flowside for the flow & side given by @sidx */ static inline const struct flowside *flowside_at_sidx(flow_sidx_t sidx) { |
