-/* $OpenBSD: art.c,v 1.30 2023/11/10 20:05:22 bluhm Exp $ */
+/* $OpenBSD: art.c,v 1.31 2023/11/11 12:17:50 bluhm Exp $ */
/*
* Copyright (c) 2015 Martin Pieuchot
}
struct art_node *
-art_get(void *dst, uint8_t plen)
+art_get(uint8_t plen)
{
struct art_node *an;
-/* $OpenBSD: art.h,v 1.24 2023/11/10 20:05:22 bluhm Exp $ */
+/* $OpenBSD: art.h,v 1.25 2023/11/11 12:17:50 bluhm Exp $ */
/*
* Copyright (c) 2015 Martin Pieuchot
int art_walk(struct art_root *,
int (*)(struct art_node *, void *), void *);
-struct art_node *art_get(void *, uint8_t);
+struct art_node *art_get(uint8_t);
void art_put(struct art_node *);
#endif /* _NET_ART_H_ */
-/* $OpenBSD: rtable.c,v 1.83 2023/11/10 20:05:22 bluhm Exp $ */
+/* $OpenBSD: rtable.c,v 1.84 2023/11/11 12:17:50 bluhm Exp $ */
/*
* Copyright (c) 2014-2016 Martin Pieuchot
}
}
- an = art_get(dst, plen);
+ an = art_get(plen);
if (an == NULL) {
error = ENOBUFS;
goto leave;