diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2024-09-18 18:34:19 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2024-09-18 18:34:57 +0200 |
commit | 26d35019deb69069011b60b28527d93cec4c2218 (patch) | |
tree | 190aee421e919ca0983a7409a5bd6b85a939cec5 /src/nspawn | |
parent | nsresource: make sd_json_dispatch_field table static (diff) | |
download | systemd-26d35019deb69069011b60b28527d93cec4c2218.tar.xz systemd-26d35019deb69069011b60b28527d93cec4c2218.zip |
tree-wide: drop unnecessary 'struct'
Diffstat (limited to 'src/nspawn')
-rw-r--r-- | src/nspawn/nspawn-oci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nspawn/nspawn-oci.c b/src/nspawn/nspawn-oci.c index db118699dc..11ea744562 100644 --- a/src/nspawn/nspawn-oci.c +++ b/src/nspawn/nspawn-oci.c @@ -1742,7 +1742,7 @@ static int oci_seccomp_args(const char *name, sd_json_variant *v, sd_json_dispat int r; JSON_VARIANT_ARRAY_FOREACH(e, v) { - static const struct sd_json_dispatch_field table[] = { + static const sd_json_dispatch_field table[] = { { "index", SD_JSON_VARIANT_UNSIGNED, sd_json_dispatch_uint32, offsetof(struct scmp_arg_cmp, arg), SD_JSON_MANDATORY }, { "value", SD_JSON_VARIANT_UNSIGNED, sd_json_dispatch_uint64, offsetof(struct scmp_arg_cmp, datum_a), SD_JSON_MANDATORY }, { "valueTwo", SD_JSON_VARIANT_UNSIGNED, sd_json_dispatch_uint64, offsetof(struct scmp_arg_cmp, datum_b), 0 }, |