summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2025-01-10 19:57:34 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2025-01-15 03:48:11 +0100
commita75aeca78c3ad88dc9840f45963f86097d20cf6f (patch)
treed676b8317dc1cf621f438992bd1aa40516e2d624 /src
parentudevadm-test: add missing oom check (diff)
downloadsystemd-a75aeca78c3ad88dc9840f45963f86097d20cf6f.tar.xz
systemd-a75aeca78c3ad88dc9840f45963f86097d20cf6f.zip
udev-rules: replace 'type *func()' -> 'type* func()'
Diffstat (limited to 'src')
-rw-r--r--src/udev/udev-rules.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/udev/udev-rules.c b/src/udev/udev-rules.c
index 8b1f476bc0..4aacba6f0f 100644
--- a/src/udev/udev-rules.c
+++ b/src/udev/udev-rules.c
@@ -346,7 +346,7 @@ static void log_event_truncated(
/*** Other functions ***/
-static UdevRuleToken *udev_rule_token_free(UdevRuleToken *token) {
+static UdevRuleToken* udev_rule_token_free(UdevRuleToken *token) {
if (!token)
return NULL;
@@ -365,7 +365,7 @@ static void udev_rule_line_clear_tokens(UdevRuleLine *rule_line) {
udev_rule_token_free(i);
}
-static UdevRuleLine *udev_rule_line_free(UdevRuleLine *rule_line) {
+static UdevRuleLine* udev_rule_line_free(UdevRuleLine *rule_line) {
if (!rule_line)
return NULL;
@@ -380,7 +380,7 @@ static UdevRuleLine *udev_rule_line_free(UdevRuleLine *rule_line) {
DEFINE_TRIVIAL_CLEANUP_FUNC(UdevRuleLine*, udev_rule_line_free);
-static UdevRuleFile *udev_rule_file_free(UdevRuleFile *rule_file) {
+static UdevRuleFile* udev_rule_file_free(UdevRuleFile *rule_file) {
if (!rule_file)
return NULL;