aboutsummaryrefslogtreecommitdiff
path: root/src/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd')
-rw-r--r--src/cmd/astro/main.c5
-rw-r--r--src/cmd/astro/mkfile2
-rw-r--r--src/cmd/astro/stars.c2
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)