Commit 6a4c8df0 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Fix an extremely fine C-standard point and remove the vcc_FreeToken()

prototype


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1974 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 750eebc8
......@@ -103,6 +103,12 @@ enum var_type {
SET
};
enum var_access {
V_RO,
V_RW,
V_WO
};
enum ref_type {
R_FUNC,
R_ACL,
......@@ -123,7 +129,7 @@ struct var {
unsigned len;
const char *rname;
const char *lname;
enum {V_RO, V_RW, V_WO} access;
enum var_access access;
const char *hdr;
unsigned methods;
};
......@@ -187,7 +193,6 @@ void vcc_Lexer(struct tokenlist *tl, struct source *sp);
void vcc_NextToken(struct tokenlist *tl);
void vcc__ErrInternal(struct tokenlist *tl, const char *func, unsigned line);
void vcc_AddToken(struct tokenlist *tl, unsigned tok, const char *b, const char *e);
void vcc_FreeToken(struct token *t);
/* vcc_var.c */
struct var *vcc_FindVar(struct tokenlist *tl, const struct token *t, struct var *vl);
......
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