diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/processarc.c | 8 | ||||
-rw-r--r-- | src/trigcmd.c | 6 | ||||
-rw-r--r-- | src/trigproc.c | 10 |
3 files changed, 14 insertions, 10 deletions
diff --git a/src/processarc.c b/src/processarc.c index 4d2f7fe71..2d6f320c0 100644 --- a/src/processarc.c +++ b/src/processarc.c @@ -51,8 +51,12 @@ void process_archive(const char *filename) { static const struct TarFunctions tf = { - tarfileread, - tarobject, tarobject, tarobject, tarobject, tarobject + .Read = tarfileread, + .ExtractFile = tarobject, + .MakeDirectory = tarobject, + .MakeHardLink = tarobject, + .MakeSymbolicLink = tarobject, + .MakeSpecialFile = tarobject, }; /* These need to be static so that we can pass their addresses to diff --git a/src/trigcmd.c b/src/trigcmd.c index 5225d941e..bf80f48af 100644 --- a/src/trigcmd.c +++ b/src/trigcmd.c @@ -140,9 +140,9 @@ tdm_add_trig_end(void) } static const struct trigdefmeths tdm_add = { - tdm_add_trig_begin, - tdm_add_package, - tdm_add_trig_end + .trig_begin = tdm_add_trig_begin, + .package = tdm_add_package, + .trig_end = tdm_add_trig_end, }; static void 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 |