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:
@ -23,10 +23,10 @@
|
||||
*/
|
||||
|
||||
// To ensure that ss_info_assert asserts also when builing in non-debug mode.
|
||||
#if !defined(SS_DEBUG)
|
||||
#if !defined (SS_DEBUG)
|
||||
#define SS_DEBUG
|
||||
#endif
|
||||
#if defined(NDEBUG)
|
||||
#if defined (NDEBUG)
|
||||
#undef NDEBUG
|
||||
#endif
|
||||
#include <stdio.h>
|
||||
@ -40,11 +40,10 @@
|
||||
/**
|
||||
* test1 Allocate table of users and mess around with it
|
||||
*
|
||||
*/
|
||||
static int
|
||||
test1()
|
||||
*/
|
||||
static int test1()
|
||||
{
|
||||
HINT *hint;
|
||||
HINT* hint;
|
||||
|
||||
/* Hint tests */
|
||||
fprintf(stderr,
|
||||
@ -63,10 +62,9 @@ test1()
|
||||
fprintf(stderr, "\t..done\n");
|
||||
|
||||
return 0;
|
||||
|
||||
}
|
||||
|
||||
int main(int argc, char **argv)
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
int result = 0;
|
||||
|
||||
@ -74,4 +72,3 @@ int main(int argc, char **argv)
|
||||
|
||||
exit(result);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user