summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_var.h
diff options
context:
space:
mode:
authorZhidao HONG <z.hong@f5.com>2022-11-20 23:16:51 +0800
committerZhidao HONG <z.hong@f5.com>2022-11-20 23:16:51 +0800
commit4d6d146e920667a8afeacd355e4fb6a94387066e (patch)
treed25e70f93a4f91960434c4d631072e9936f80e36 /src/nxt_var.h
parent4735931ace321752c387dae04c8b217ef22897ee (diff)
downloadunit-4d6d146e920667a8afeacd355e4fb6a94387066e.tar.gz
unit-4d6d146e920667a8afeacd355e4fb6a94387066e.tar.bz2
Basic njs support.
Diffstat (limited to '')
-rw-r--r--src/nxt_var.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/nxt_var.h b/src/nxt_var.h
index 2c6f13bd..4f30a002 100644
--- a/src/nxt_var.h
+++ b/src/nxt_var.h
@@ -39,13 +39,6 @@ typedef struct {
} nxt_var_cache_t;
-nxt_inline nxt_bool_t
-nxt_is_var(nxt_str_t *str)
-{
- return (memchr(str->start, '$', str->length) != NULL);
-}
-
-
nxt_int_t nxt_var_register(nxt_var_decl_t *decl, size_t n);
nxt_int_t nxt_var_index_init(void);