basic: indent prototypes of two functions with many arguments

This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2023-09-18 14:09:34 +02:00
parent 00d811a548
commit a410b3a3d4
2 changed files with 15 additions and 2 deletions
+8 -1
View File
@@ -657,7 +657,14 @@ static int find_executable_impl(const char *name, const char *root, char **ret_f
return 0;
}
int find_executable_full(const char *name, const char *root, char **exec_search_path, bool use_path_envvar, char **ret_filename, int *ret_fd) {
int find_executable_full(
const char *name,
const char *root,
char **exec_search_path,
bool use_path_envvar,
char **ret_filename,
int *ret_fd) {
int last_error = -ENOENT, r = 0;
const char *p = NULL;
+7 -1
View File
@@ -701,7 +701,13 @@ static bool do_escape_mangle(const char *f, bool allow_globs, char *t) {
*
* If @allow_globs, globs characters are preserved. Otherwise, they are escaped.
*/
int unit_name_mangle_with_suffix(const char *name, const char *operation, UnitNameMangle flags, const char *suffix, char **ret) {
int unit_name_mangle_with_suffix(
const char *name,
const char *operation,
UnitNameMangle flags,
const char *suffix,
char **ret) {
_cleanup_free_ char *s = NULL;
bool mangled, suggest_escape = true;
int r;