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:
@@ -18,12 +18,11 @@
|
||||
#include <isc/symtab.h>
|
||||
#include <isc/util.h>
|
||||
|
||||
isc_mem_t * mctx;
|
||||
isc_mem_t *mctx;
|
||||
isc_symtab_t *st;
|
||||
|
||||
static void
|
||||
undefine_action(char *key, unsigned int type, isc_symvalue_t value, void *arg)
|
||||
{
|
||||
undefine_action(char *key, unsigned int type, isc_symvalue_t value, void *arg) {
|
||||
UNUSED(arg);
|
||||
|
||||
INSIST(type == 1);
|
||||
@@ -32,16 +31,15 @@ undefine_action(char *key, unsigned int type, isc_symvalue_t value, void *arg)
|
||||
}
|
||||
|
||||
int
|
||||
main(int argc, char *argv[])
|
||||
{
|
||||
char s[1000], *cp, *key;
|
||||
size_t len;
|
||||
isc_result_t result;
|
||||
isc_symvalue_t value;
|
||||
int trace = 0;
|
||||
int c;
|
||||
main(int argc, char *argv[]) {
|
||||
char s[1000], *cp, *key;
|
||||
size_t len;
|
||||
isc_result_t result;
|
||||
isc_symvalue_t value;
|
||||
int trace = 0;
|
||||
int c;
|
||||
isc_symexists_t exists_policy = isc_symexists_reject;
|
||||
bool case_sensitive = false;
|
||||
bool case_sensitive = false;
|
||||
|
||||
while ((c = isc_commandline_parse(argc, argv, "tarc")) != -1) {
|
||||
switch (c) {
|
||||
|
||||
Reference in New Issue
Block a user