Mailing List Archive

[master] 83ab25a25 use our v_ attribute for marking the deprecation
commit 83ab25a259374194bda0ae222a5484cb1f2091c4
Author: Nils Goroll <nils.goroll@uplex.de>
Date: Wed Aug 12 14:52:45 2020 +0200

use our v_ attribute for marking the deprecation

Ref 904659a1475a395c9972626670abbf0d2e4222f4
1594037cb896970c2cbfdab101d0059ac00201f9

diff --git a/include/vsb.h b/include/vsb.h
index 23d9dad82..06239b6bb 100644
--- a/include/vsb.h
+++ b/include/vsb.h
@@ -59,7 +59,7 @@ extern "C" {
/*
* API functions
*/
-struct vsb *VSB_new(struct vsb *, char *, int, int); // DEPRECATED
+struct vsb *VSB_new(struct vsb *, char *, int, int) v_deprecated_;
struct vsb *VSB_init(struct vsb *, void *, ssize_t);
struct vsb *VSB_new_auto(void);
void VSB_clear(struct vsb *);
@@ -76,7 +76,7 @@ int VSB_error(const struct vsb *);
int VSB_finish(struct vsb *);
char *VSB_data(const struct vsb *);
ssize_t VSB_len(const struct vsb *);
-void VSB_delete(struct vsb *); // DEPRECATED
+void VSB_delete(struct vsb *) v_deprecated_;
void VSB_fini(struct vsb *);
void VSB_destroy(struct vsb **);
#define VSB_QUOTE_NONL 1
_______________________________________________
varnish-commit mailing list
varnish-commit@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-commit