From 5ebf72443b04d110e41c9f2f9dbc6a9796862e38 Mon Sep 17 00:00:00 2001 From: tjg Date: Wed, 3 Apr 2002 14:57:21 +0000 Subject: Feature: make $version less magical, and exportable. Bug: make $bqstatus and $status not exportable. --- var.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'var.c') 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; -- cgit v1.2.3