tUse unsharp() instead of SYS9. - plan9port - [fork] Plan 9 from user space
 (HTM) git clone git://src.adamsgaard.dk/plan9port
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 79f2723f25b698aabc25d7f7bc6b551b58d3716b
 (DIR) parent 05de2fdd5ed72cfd85f844cab9e930ca82ee1cca
 (HTM) Author: wkj <devnull@localhost>
       Date:   Wed, 21 Apr 2004 02:34:42 +0000
       
       Use unsharp() instead of SYS9.
       
       Diffstat:
         M src/cmd/astro/main.c                |       5 ++++-
         M src/cmd/astro/mkfile                |       2 --
         M src/cmd/astro/stars.c               |       2 +-
       
       3 files changed, 5 insertions(+), 4 deletions(-)
       ---
 (DIR) diff --git a/src/cmd/astro/main.c b/src/cmd/astro/main.c
       t@@ -1,6 +1,6 @@
        #include "astro.h"
        
       -char*        herefile = SYS9 "/lib/sky/here";
       +char*        herefile;
        
        int
        main(int argc, char *argv[])
       t@@ -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);
        
 (DIR) diff --git a/src/cmd/astro/mkfile b/src/cmd/astro/mkfile
       t@@ -37,6 +37,4 @@ HFILES=astro.h\
        
        SHORTLIB=bio 9
        
       -CFLAGS= -DSYS9=\"$PLAN9\"
       -
        <$PLAN9/src/mkone
 (DIR) diff --git a/src/cmd/astro/stars.c b/src/cmd/astro/stars.c
       t@@ -1,6 +1,6 @@
        #include "astro.h"
        
       -char*        startab = SYS9 "/lib/sky/estartab";
       +char*        startab;
        
        void
        stars(void)