use our v_ attribute for marking the deprecation

Ref 904659a1
    1594037c
parent 904659a1
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment