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:
@ -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
|
||||
|
Reference in New Issue
Block a user