mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
Formatting: normalize brace style and parameter alignment
Some checks failed
mkdocs / deploy (push) Has been cancelled
Some checks failed
mkdocs / deploy (push) Has been cancelled
No functional change: libfuse/helper.cpp (fuse_daemonize, fuse_helper_opt_proc, fuse_parse_cmdline) and mergerfs fuse_init.cpp (_want helpers) reformatted to match the project's GNU-style brace placement and aligned parameter lists.
This commit is contained in:
parent
ec40866091
commit
da68cf3a85
2 changed files with 58 additions and 50 deletions
|
|
@ -45,7 +45,7 @@ _want(fuse_conn_info_t *conn_,
|
|||
static
|
||||
bool
|
||||
_capable(fuse_conn_info_t *conn_,
|
||||
const int flag_)
|
||||
const int flag_)
|
||||
{
|
||||
return !!(conn_->capable & flag_);
|
||||
}
|
||||
|
|
@ -53,7 +53,7 @@ _capable(fuse_conn_info_t *conn_,
|
|||
static
|
||||
void
|
||||
_want_if_capable(fuse_conn_info_t *conn_,
|
||||
const int flag_)
|
||||
const int flag_)
|
||||
{
|
||||
if(::_capable(conn_,flag_))
|
||||
::_want(conn_,flag_);
|
||||
|
|
@ -62,8 +62,8 @@ _want_if_capable(fuse_conn_info_t *conn_,
|
|||
static
|
||||
void
|
||||
_want_if_capable(fuse_conn_info_t *conn_,
|
||||
const int flag_,
|
||||
ConfigBOOL *want_)
|
||||
const int flag_,
|
||||
ConfigBOOL *want_)
|
||||
{
|
||||
if(*want_ && ::_capable(conn_,flag_))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue