diff options
author | Guillem Jover <guillem@debian.org> | 2009-10-12 21:21:03 +0200 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2009-10-14 02:30:05 +0200 |
commit | 69e3c912bbec30399d23477817821c38d01c1415 (patch) | |
tree | dfa2d6160c42a2f32fcf98f132c19af4f3ae267a /src/trigproc.c | |
parent | 5da3e92afcb6109feed5e9dac155eb3ca75010eb (diff) | |
download | dpkg-69e3c912bbec30399d23477817821c38d01c1415.tar.gz |
Use named intializers in structures
Diffstat (limited to 'src/trigproc.c')
-rw-r--r-- | src/trigproc.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/trigproc.c b/src/trigproc.c index 3b6bdfb4e..597d2da7e 100644 --- a/src/trigproc.c +++ b/src/trigproc.c @@ -388,11 +388,11 @@ th_proper_nn_find(const char *name, int nonew) TRIGHOOKS_DEFINE_NAMENODE_ACCESSORS static const struct trig_hooks trig_our_hooks = { - trigproc_enqueue_deferred, - trig_transitional_activate, - th_proper_nn_find, - th_nn_interested, - th_nn_name + .enqueue_deferred = trigproc_enqueue_deferred, + .transitional_activate = trig_transitional_activate, + .namenode_find = th_proper_nn_find, + .namenode_interested = th_nn_interested, + .namenode_name = th_nn_name, }; void |