summaryrefslogtreecommitdiff
path: root/nest
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 /nest
parent8ce9a87755372d7612375bb1a81a288f309746c8 (diff)
Replacing GNU old-style field designator extension
Diffstat (limited to 'nest')
-rw-r--r--nest/rt-dev.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/nest/rt-dev.c b/nest/rt-dev.c
index 1a859dac..53deaa52 100644
--- a/nest/rt-dev.c
+++ b/nest/rt-dev.c
@@ -112,10 +112,10 @@ dev_copy_config(struct proto_config *dest, struct proto_config *src)
}
struct protocol proto_device = {
- name: "Direct",
- template: "direct%d",
- preference: DEF_PREF_DIRECT,
- init: dev_init,
- reconfigure: dev_reconfigure,
- copy_config: dev_copy_config
+ .name = "Direct",
+ .template = "direct%d",
+ .preference = DEF_PREF_DIRECT,
+ .init = dev_init,
+ .reconfigure = dev_reconfigure,
+ .copy_config = dev_copy_config
};