Uncrustify maxscale

See script directory for method. The script to run in the top level
MaxScale directory is called maxscale-uncrustify.sh, which uses
another script, list-src, from the same directory (so you need to set
your PATH). The uncrustify version was 0.66.
This commit is contained in:
Niclas Antti
2018-09-09 22:26:19 +03:00
parent fa7ec95069
commit c447e5cf15
849 changed files with 35002 additions and 27238 deletions

View File

@ -65,8 +65,8 @@ public:
}
private:
typedef bool (*init_function_t)();
typedef void (*finish_function_t)();
typedef bool (* init_function_t)();
typedef void (* finish_function_t)();
struct component_t
{
@ -78,7 +78,7 @@ private:
static int s_nComponents;
};
#define MAXBASE_COMPONENT(X) { &X::init, &X::finish }
#define MAXBASE_COMPONENT(X) {&X::init, &X::finish}
Initer::component_t Initer::s_components[] =
{
@ -103,9 +103,9 @@ MaxBase::MaxBase(const char* zIdent,
if (!m_log_inited)
{
zMessage =
"The initialization of the MaxScale base library succeeded, but the "
"initialization of the MaxScale log failed.";
zMessage
= "The initialization of the MaxScale base library succeeded, but the "
"initialization of the MaxScale log failed.";
}
}
else
@ -160,7 +160,6 @@ void finish()
{
Initer::finish();
}
}
bool maxbase_init()