aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/astro
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/astro')
-rw-r--r--src/cmd/astro/astro.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/cmd/astro/astro.h b/src/cmd/astro/astro.h
index 52754039..1553fff7 100644
--- a/src/cmd/astro/astro.h
+++ b/src/cmd/astro/astro.h
@@ -6,6 +6,11 @@
#pragma varargck type "D" double
#endif
+#undef sun
+#define sun astrosun /* not the machine! */
+#undef fmod
+#define fmod astrofmod /* ours is always positive */
+
typedef struct Obj1 Obj1;
typedef struct Obj2 Obj2;
typedef struct Obj3 Obj3;
@@ -202,8 +207,6 @@ extern char* skip(int);
extern double solstice(int);
extern void star(void);
extern void stars(void);
-#undef sun
-#define sun astrosun /* not the machine! */
extern void sun(void);
extern double sunel(double);
extern void venus(void);