From: Lennart Poettering Date: Thu, 9 Jan 2020 14:05:55 +0000 (+0100) Subject: mount-util: line break overly long function prototypes X-Git-Tag: v245-rc1~144^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8403219fc13abebde55e24c19280b1b481c68dd1;p=thirdparty%2Fsystemd.git mount-util: line break overly long function prototypes --- diff --git a/src/shared/mount-util.c b/src/shared/mount-util.c index 09fa7d3943f..c74f391b06e 100644 --- a/src/shared/mount-util.c +++ b/src/shared/mount-util.c @@ -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;