Merge branch 'each-style-tweak' into 'master'
adjust clang-format options to get closer to ISC style See merge request isc-projects/bind9!3061 (cherry picked from commitd3b49b6675)0255a974revise .clang-format and add a C formatting script in utile851ed0bapply the modified style
This commit is contained in:
@@ -19,13 +19,12 @@
|
||||
const char *expected_symbols[] = { "func3", "func2", "func1", "main" };
|
||||
|
||||
static int
|
||||
func3()
|
||||
{
|
||||
void * tracebuf[16];
|
||||
int i, nframes;
|
||||
int error = 0;
|
||||
const char * fname;
|
||||
isc_result_t result;
|
||||
func3() {
|
||||
void *tracebuf[16];
|
||||
int i, nframes;
|
||||
int error = 0;
|
||||
const char *fname;
|
||||
isc_result_t result;
|
||||
unsigned long offset;
|
||||
|
||||
result = isc_backtrace_gettrace(tracebuf, 16, &nframes);
|
||||
@@ -72,19 +71,16 @@ func3()
|
||||
}
|
||||
|
||||
static int
|
||||
func2()
|
||||
{
|
||||
func2() {
|
||||
return (func3());
|
||||
}
|
||||
|
||||
static int
|
||||
func1()
|
||||
{
|
||||
func1() {
|
||||
return (func2());
|
||||
}
|
||||
|
||||
int
|
||||
main()
|
||||
{
|
||||
main() {
|
||||
return (func1());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user