Commit a99e3f94 authored by Dridi Boukelmoune's avatar Dridi Boukelmoune

style: Whitespace OCD

parent 90623cc5
......@@ -236,24 +236,28 @@ const struct symxref XREF_DEF[1] = {{"xref_def"}};
const struct symxref XREF_REF[1] = {{"xref_ref"}};
const struct symmode SYMTAB_NOERR[1] = {{
.name = "sym_noerror",
.noerr = 1
}};
.name = "sym_noerror",
.noerr = 1
}};
const struct symmode SYMTAB_CREATE[1] = {{
.name = "sym_create"
}};
.name = "sym_create"
}};
const struct symmode SYMTAB_EXISTING[1] = {{
.name = "Symbol not found"
}};
.name = "Symbol not found"
}};
const struct symmode SYMTAB_PARTIAL[1] = {{
.name = "Symbol not found",
.partial = 1
}};
.name = "Symbol not found",
.partial = 1
}};
const struct symmode SYMTAB_PARTIAL_NOERR[1] = {{
.name = "Symbol not found",
.partial = 1,
.noerr = 1
}};
.name = "Symbol not found",
.partial = 1,
.noerr = 1
}};
struct symbol *
VCC_SymbolGet(struct vcc *tl, vcc_ns_t ns, vcc_kind_t kind,
......
......@@ -81,9 +81,9 @@ cobj_free(VRT_CTX, void *p)
}
static const struct vmod_priv_methods cookie_cobj_priv_methods[1] = {{
.magic = VMOD_PRIV_METHODS_MAGIC,
.type = "vmod_cookie_cobj",
.fini = cobj_free
.magic = VMOD_PRIV_METHODS_MAGIC,
.type = "vmod_cookie_cobj",
.fini = cobj_free
}};
static struct vmod_cookie *
......
......@@ -242,10 +242,10 @@ priv_ ## name ## _fini(VRT_CTX, void *ptr) \
\
static const struct vmod_priv_methods \
xyzzy_test_priv_ ## name ## _methods[1] = {{ \
.magic = VMOD_PRIV_METHODS_MAGIC, \
.type = "debug_test_priv_" #name, \
.fini = priv_ ## name ## _fini \
}};
.magic = VMOD_PRIV_METHODS_MAGIC, \
.type = "debug_test_priv_" #name, \
.fini = priv_ ## name ## _fini \
}};
PRIV_FINI(call, 0)
PRIV_FINI(task, 1)
PRIV_FINI(top, 1)
......@@ -426,9 +426,9 @@ priv_vcl_fini(VRT_CTX, void *priv)
}
static const struct vmod_priv_methods priv_vcl_methods[1] = {{
.magic = VMOD_PRIV_METHODS_MAGIC,
.type = "debug_priv_vcl_fini",
.fini = priv_vcl_fini
.magic = VMOD_PRIV_METHODS_MAGIC,
.type = "debug_priv_vcl_fini",
.fini = priv_vcl_fini
}};
static int
......@@ -1201,9 +1201,9 @@ fail_f(VRT_CTX, void *priv)
}
static const struct vmod_priv_methods xyzzy_fail_task_fini_methods[1] = {{
.magic = VMOD_PRIV_METHODS_MAGIC,
.type = "debug_fail_task_fini",
.fini = fail_f
.magic = VMOD_PRIV_METHODS_MAGIC,
.type = "debug_fail_task_fini",
.fini = fail_f
}};
VCL_VOID v_matchproto_(td_xyzzy_debug_fail_task_fini)
......
......@@ -100,9 +100,9 @@ shard_change_fini(VRT_CTX, void * priv)
}
static const struct vmod_priv_methods shard_change_priv_methods[1] = {{
.magic = VMOD_PRIV_METHODS_MAGIC,
.type = "vmod_directors_shard_cfg",
.fini = shard_change_fini
.magic = VMOD_PRIV_METHODS_MAGIC,
.type = "vmod_directors_shard_cfg",
.fini = shard_change_fini
}};
static struct shard_change *
......
......@@ -85,9 +85,9 @@ fini_frfile(VRT_CTX, void *ptr)
}
static const struct vmod_priv_methods frfile_methods[1] = {{
.magic = VMOD_PRIV_METHODS_MAGIC,
.type = "vmod_std_fileread",
.fini = fini_frfile
.magic = VMOD_PRIV_METHODS_MAGIC,
.type = "vmod_std_fileread",
.fini = fini_frfile
}};
static struct frfile *
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment