[master] 956d529fb vtree: Constify generated NFIND arguments
Nils Goroll
nils.goroll at uplex.de
Thu Apr 17 13:35:15 UTC 2025
You only patched VRBT_PROTOTYPE_NFIND, not VRBT_GENERATE_NFIND
On 17.04.25 13:03, Dridi Boukelmoune wrote:
>
> commit 956d529fb8236596e3bd2c01e78e4dac9ec13b27
> Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
> Date: Thu Apr 17 12:58:29 2025 +0200
>
> vtree: Constify generated NFIND arguments
>
> I expected the tools/import_vtree_from_freebsd.sh script to take care of
> it when it was last updated.
>
> diff --git a/include/vtree.h b/include/vtree.h
> index d36233137..2d9cdf9cd 100644
> --- a/include/vtree.h
> +++ b/include/vtree.h
> @@ -450,7 +450,7 @@ struct { \
> #define VRBT_PROTOTYPE_FIND(name, type, attr) \
> attr struct type *name##_VRBT_FIND(const struct name *, const struct type *)
> #define VRBT_PROTOTYPE_NFIND(name, type, attr) \
> - attr struct type *name##_VRBT_NFIND(struct name *, struct type *)
> + attr struct type *name##_VRBT_NFIND(const struct name *, const struct type *)
> #define VRBT_PROTOTYPE_NEXT(name, type, attr) \
> attr struct type *name##_VRBT_NEXT(struct type *)
> #define VRBT_PROTOTYPE_INSERT_NEXT(name, type, attr) \
> _______________________________________________
> varnish-commit mailing list
> varnish-commit at varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-commit
--
Nils Goroll (he/him)
** * * UPLEX - Nils Goroll Systemoptimierung
Scheffelstraße 32
22301 Hamburg
tel +49 40 28805731
mob +49 170 2723133
fax +49 40 42949753
xmpp://slink@jabber.int.uplex.de/
http://uplex.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x1DCD8F57A3868BD7.asc
Type: application/pgp-keys
Size: 3943 bytes
Desc: OpenPGP public key
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-commit/attachments/20250417/3c22e691/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-commit/attachments/20250417/3c22e691/attachment-0001.bin>
More information about the varnish-commit
mailing list