Merge branch '46-just-use-clang-format-to-reformat-sources' into 'master'
Reformat source code with clang-format Closes #46 See merge request isc-projects/bind9!2156 (cherry picked from commit7099e79a9b)4c3b063eImport Linux kernel .clang-format with small modificationsf50b1e06Use clang-format to reformat the source files11341c76Update the definition files for Windowsdf6c1f76Remove tkey_test (which is no-op anyway)
This commit is contained in:
@@ -16,20 +16,16 @@
|
||||
#include <isc/print.h>
|
||||
#include <isc/result.h>
|
||||
|
||||
const char *expected_symbols[] = {
|
||||
"func3",
|
||||
"func2",
|
||||
"func1",
|
||||
"main"
|
||||
};
|
||||
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);
|
||||
@@ -74,16 +70,19 @@ 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