]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
mount-util: line break overly long function prototypes
authorLennart Poettering <lennart@poettering.net>
Thu, 9 Jan 2020 14:05:55 +0000 (15:05 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 9 Jan 2020 14:05:55 +0000 (15:05 +0100)
src/shared/mount-util.c

index 09fa7d3943f549c82e011d88638ebb89dfc08ee9..c74f391b06e2498ea29df60ef743308cffccd54d 100644 (file)
@@ -143,6 +143,7 @@ int bind_remount_recursive_with_mountinfo(
         _cleanup_free_ char *simplified = NULL;
         int r;
 
+        assert(prefix);
         assert(proc_self_mountinfo);
 
         /* Recursively remount a directory (and all its submounts) read-only or read-write. If the directory is already
@@ -309,7 +310,12 @@ int bind_remount_recursive_with_mountinfo(
         }
 }
 
-int bind_remount_recursive(const char *prefix, unsigned long new_flags, unsigned long flags_mask, char **blacklist) {
+int bind_remount_recursive(
+                const char *prefix,
+                unsigned long new_flags,
+                unsigned long flags_mask,
+                char **blacklist) {
+
         _cleanup_fclose_ FILE *proc_self_mountinfo = NULL;
         int r;