X-Git-Url: https://git.enpas.org/?a=blobdiff_plain;f=package%2Fuci%2Fpatches%2F120-uci_trigger.patch;h=03c3760f91f3f3fe9a6f3d91f1e2052d5aa69182;hb=fc8259b34d7abf7102eb2f854edb8839edbcf2bb;hp=a1454a37b2182ba914df23af13515f212b3cccaa;hpb=9aad34a95c6cc7d68e12cd7d3fc2436f3106e9c6;p=openwrt.git diff --git a/package/uci/patches/120-uci_trigger.patch b/package/uci/patches/120-uci_trigger.patch index a1454a37b2..03c3760f91 100644 --- a/package/uci/patches/120-uci_trigger.patch +++ b/package/uci/patches/120-uci_trigger.patch @@ -65,7 +65,7 @@ + +struct trigger_set_op { + struct uci_package *p; -+ struct uci_history *h; ++ struct uci_delta *h; +}; + +static int trigger_set(lua_State *L) @@ -73,7 +73,7 @@ + struct trigger_set_op *so = + (struct trigger_set_op *)lua_touserdata(L, 1); + struct uci_package *p = so->p; -+ struct uci_history *h = so->h; ++ struct uci_delta *h = so->h; + struct uci_context *ctx = p->ctx; + + /* ignore non-standard savedirs/configdirs @@ -139,7 +139,7 @@ + +#endif + -+static void trigger_set_hook(const struct uci_hook_ops *ops, struct uci_package *p, struct uci_history *h) ++static void trigger_set_hook(const struct uci_hook_ops *ops, struct uci_package *p, struct uci_delta *h) +{ + struct trigger_set_op so; +