aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/astro
diff options
context:
space:
mode:
authorwkj <devnull@localhost>2004-04-21 02:34:42 +0000
committerwkj <devnull@localhost>2004-04-21 02:34:42 +0000
commit79f2723f25b698aabc25d7f7bc6b551b58d3716b (patch)
tree0ac421a88f670bc1dc78c2d0833e622ed84b3e55 /src/cmd/astro
parent05de2fdd5ed72cfd85f844cab9e930ca82ee1cca (diff)
downloadplan9port-79f2723f25b698aabc25d7f7bc6b551b58d3716b.tar.gz
plan9port-79f2723f25b698aabc25d7f7bc6b551b58d3716b.tar.bz2
plan9port-79f2723f25b698aabc25d7f7bc6b551b58d3716b.zip
Use unsharp() instead of SYS9.
Diffstat (limited to 'src/cmd/astro')
-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)