]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
conf-parser: set standard pointer alignment
authorAntonio Alvarez Feijoo <antonio.feijoo@suse.com>
Thu, 20 Jun 2024 10:53:08 +0000 (12:53 +0200)
committerAntonio Alvarez Feijoo <antonio.feijoo@suse.com>
Thu, 20 Jun 2024 10:53:08 +0000 (12:53 +0200)
src/shared/conf-parser.c

index fcc45c6e252f140544e0ac82982e0614a797325a..7bac3ead83de657d5b8cb549204fc4a987d0818f 100644 (file)
@@ -171,7 +171,7 @@ static int next_assignment(
 
 /* Parse a single logical line */
 static int parse_line(
-                const charunit,
+                const char *unit,
                 const char *filename,
                 unsigned line,
                 const char *sections,
@@ -868,7 +868,7 @@ DEFINE_PARSER(mode, mode_t, parse_mode);
 DEFINE_PARSER(pid, pid_t, parse_pid);
 
 int config_parse_iec_size(
-                const charunit,
+                const char *unit,
                 const char *filename,
                 unsigned line,
                 const char *section,
@@ -900,7 +900,7 @@ int config_parse_iec_size(
 }
 
 int config_parse_si_uint64(
-                const charunit,
+                const char *unit,
                 const char *filename,
                 unsigned line,
                 const char *section,
@@ -926,7 +926,7 @@ int config_parse_si_uint64(
 }
 
 int config_parse_iec_uint64(
-                const charunit,
+                const char *unit,
                 const char *filename,
                 unsigned line,
                 const char *section,
@@ -952,7 +952,7 @@ int config_parse_iec_uint64(
 }
 
 int config_parse_iec_uint64_infinity(
-                const charunit,
+                const char *unit,
                 const char *filename,
                 unsigned line,
                 const char *section,
@@ -976,7 +976,7 @@ int config_parse_iec_uint64_infinity(
 }
 
 int config_parse_bool(
-                const charunit,
+                const char *unit,
                 const char *filename,
                 unsigned line,
                 const char *section,
@@ -1036,7 +1036,7 @@ int config_parse_id128(
 }
 
 int config_parse_tristate(
-                const charunit,
+                const char *unit,
                 const char *filename,
                 unsigned line,
                 const char *section,
@@ -1636,7 +1636,7 @@ int config_parse_rlimit(
 }
 
 int config_parse_permille(
-                const charunit,
+                const char *unit,
                 const char *filename,
                 unsigned line,
                 const char *section,
@@ -1667,7 +1667,7 @@ int config_parse_permille(
 }
 
 int config_parse_vlanprotocol(
-                const charunit,
+                const char *unit,
                 const char *filename,
                 unsigned line,
                 const char *section,