plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit 79f2723f25b698aabc25d7f7bc6b551b58d3716b
parent 05de2fdd5ed72cfd85f844cab9e930ca82ee1cca
Author: wkj <devnull@localhost>
Date:   Wed, 21 Apr 2004 02:34:42 +0000

Use unsharp() instead of SYS9.

Diffstat:
Msrc/cmd/astro/main.c | 5++++-
Msrc/cmd/astro/mkfile | 2--
Msrc/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 @@ -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 @@ -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 @@ -1,6 +1,6 @@ #include "astro.h" -char* startab = SYS9 "/lib/sky/estartab"; +char* startab; void stars(void)