From 79f2723f25b698aabc25d7f7bc6b551b58d3716b Mon Sep 17 00:00:00 2001 From: wkj Date: Wed, 21 Apr 2004 02:34:42 +0000 Subject: Use unsharp() instead of SYS9. --- src/cmd/astro/main.c | 5 ++++- src/cmd/astro/mkfile | 2 -- src/cmd/astro/stars.c | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/cmd/astro/main.c b/src/cmd/astro/main.c index 687695c8..7806575a 100644 --- a/src/cmd/astro/main.c +++ b/src/cmd/astro/main.c @@ -1,6 +1,6 @@ #include "astro.h" -char* herefile = SYS9 "/lib/sky/here"; +char* herefile; int main(int argc, char *argv[]) @@ -14,6 +14,9 @@ main(int argc, char *argv[]) radsec = radian/3600; converge = 1.0e-14; + startab = unsharp("#9/lib/sky/estartab"); + herefile = unsharp("#9/lib/sky/estartab"); + fmtinstall('R', Rconv); fmtinstall('D', Dconv); diff --git a/src/cmd/astro/mkfile b/src/cmd/astro/mkfile index 6fa05c1b..f4db22f1 100644 --- a/src/cmd/astro/mkfile +++ b/src/cmd/astro/mkfile @@ -37,6 +37,4 @@ HFILES=astro.h\ SHORTLIB=bio 9 -CFLAGS= -DSYS9=\"$PLAN9\" - <$PLAN9/src/mkone diff --git a/src/cmd/astro/stars.c b/src/cmd/astro/stars.c index 52800f42..4036adae 100644 --- a/src/cmd/astro/stars.c +++ b/src/cmd/astro/stars.c @@ -1,6 +1,6 @@ #include "astro.h" -char* startab = SYS9 "/lib/sky/estartab"; +char* startab; void stars(void) -- cgit v1.2.3