diff options
| author | tjg <tjg> | 2002-04-03 14:57:21 +0000 |
|---|---|---|
| committer | Toby Goodwin <toby@paccrat.org> | 2015-05-16 21:23:21 +0100 |
| commit | 5ebf72443b04d110e41c9f2f9dbc6a9796862e38 (patch) | |
| tree | fe5cd2f68a4127c2aa14a2bdc343e4ec292fb383 /var.c | |
| parent | 94fa27339355b25aeb93a02ac36ab3b7921810b5 (diff) | |
Feature: make $version less magical, and exportable.
Bug: make $bqstatus and $status not exportable.
Diffstat (limited to 'var.c')
| -rw-r--r-- | var.c | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -57,9 +57,6 @@ extern bool varassign_string(char *extdef) { associated with $status) */ -static List id2 = { "$Release: @(#)" PACKAGE " " VERSION " " RELDATE " $", 0, 0 }; -static List id1 = { VERSION, 0, &id2 }; - extern List *varlookup(char *name) { Variable *look; List *ret, *l; @@ -68,8 +65,6 @@ extern List *varlookup(char *name) { return sgetapids(); if (streq(name, "status")) return sgetstatus(); - if (streq(name, "rc_version")) - return &id1; if (*name != '\0' && (sub = a2u(name)) != -1) { /* handle $1, $2, etc. */ for (l = varlookup("*"); l != NULL && sub != 0; --sub) l = l->n; |