[master] 956d529fb vtree: Constify generated NFIND arguments
Dridi Boukelmoune
dridi.boukelmoune at gmail.com
Thu Apr 17 11:03:05 UTC 2025
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) \
More information about the varnish-commit
mailing list