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

@ -42,26 +42,26 @@ struct cli_session;
*/
typedef struct cli_instance
{
SPINLOCK lock; /*< The instance spinlock */
SERVICE *service; /*< The debug cli service */
SPINLOCK lock; /*< The instance spinlock */
SERVICE* service; /*< The debug cli service */
struct cli_session
*sessions; /*< Linked list of sessions within this instance */
* sessions; /*< Linked list of sessions within this instance */
struct cli_instance
*next; /*< The next pointer for the list of instances */
* next; /*< The next pointer for the list of instances */
} CLI_INSTANCE;
/**
* The CLI_SESSION structure. As CLI_SESSION is created for each user that logs into
* the DEBUG CLI.
*/
#define CMDBUFLEN 2048
#define CMDBUFLEN 2048
typedef struct cli_session
{
char cmdbuf[CMDBUFLEN]; /*< The command buffer used to build up user commands */
MXS_SESSION *session; /*< The gateway session */
char cmdbuf[CMDBUFLEN]; /*< The command buffer used to build up user commands */
MXS_SESSION* session; /*< The gateway session */
struct cli_session
*next; /*< The next pointer for the list of sessions */
* next; /*< The next pointer for the list of sessions */
} CLI_SESSION;
MXS_END_DECLS