From: Zbigniew Jędrzejewski-Szmek Date: Sun, 14 Jul 2024 12:29:35 +0000 (+0200) Subject: repart: use new style for pointers in function signatures X-Git-Tag: v257-rc1~845^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=52031044bfc395fdf8c5ebb68ef6dab4f7316f28;p=thirdparty%2Fsystemd.git repart: use new style for pointers in function signatures --- diff --git a/src/partition/repart.c b/src/partition/repart.c index 0ad8fad1509..5ba099940a0 100644 --- a/src/partition/repart.c +++ b/src/partition/repart.c @@ -558,7 +558,7 @@ static Partition* partition_unlink_and_free(Context *context, Partition *p) { DEFINE_TRIVIAL_CLEANUP_FUNC(Partition*, partition_free); -static Context *context_new(sd_id128_t seed) { +static Context* context_new(sd_id128_t seed) { Context *context; context = new(Context, 1); @@ -585,7 +585,7 @@ static void context_free_free_areas(Context *context) { context->n_free_areas = 0; } -static Context *context_free(Context *context) { +static Context* context_free(Context *context) { if (!context) return NULL; @@ -3778,7 +3778,7 @@ static const char* partition_target_path(PartitionTarget *t) { return t->path; } -static PartitionTarget *partition_target_free(PartitionTarget *t) { +static PartitionTarget* partition_target_free(PartitionTarget *t) { if (!t) return NULL;