summaryrefslogtreecommitdiff
path: root/proto/static
diff options
context:
space:
mode:
authorPavel Tvrdik <pawel.tvrdik@gmail.cz>2014-12-03 10:10:34 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2015-02-21 19:31:36 +0100
commit4a591d4b947e0abc0ad013ca1b75da27c6922be5 (patch)
tree01327290a9810cc068429f81099dbc684bd8306f /proto/static
parent8ce9a87755372d7612375bb1a81a288f309746c8 (diff)
Replacing GNU old-style field designator extension
Diffstat (limited to 'proto/static')
-rw-r--r--proto/static/static.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/proto/static/static.c b/proto/static/static.c
index d3a595d3..8c31cdb8 100644
--- a/proto/static/static.c
+++ b/proto/static/static.c
@@ -528,16 +528,16 @@ static_copy_config(struct proto_config *dest, struct proto_config *src)
struct protocol proto_static = {
- name: "Static",
- template: "static%d",
- preference: DEF_PREF_STATIC,
- init: static_init,
- dump: static_dump,
- start: static_start,
- shutdown: static_shutdown,
- cleanup: static_cleanup,
- reconfigure: static_reconfigure,
- copy_config: static_copy_config
+ .name = "Static",
+ .template = "static%d",
+ .preference = DEF_PREF_STATIC,
+ .init = static_init,
+ .dump = static_dump,
+ .start = static_start,
+ .shutdown = static_shutdown,
+ .cleanup = static_cleanup,
+ .reconfigure = static_reconfigure,
+ .copy_config = static_copy_config
};
static void