summaryrefslogtreecommitdiff
path: root/var.c
diff options
context:
space:
mode:
authortjg <tjg>2002-04-03 14:57:21 +0000
committerToby Goodwin <toby@paccrat.org>2015-05-16 21:23:21 +0100
commit5ebf72443b04d110e41c9f2f9dbc6a9796862e38 (patch)
treefe5cd2f68a4127c2aa14a2bdc343e4ec292fb383 /var.c
parent94fa27339355b25aeb93a02ac36ab3b7921810b5 (diff)
Feature: make $version less magical, and exportable.
Bug: make $bqstatus and $status not exportable.
Diffstat (limited to 'var.c')
-rw-r--r--var.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/var.c b/var.c
index a7f5c76..0fa79c4 100644
--- a/var.c
+++ b/var.c
@@ -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;