tmake sure we get our fmod - plan9port - [fork] Plan 9 from user space
HTML git clone git://src.adamsgaard.dk/plan9port
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 1813809c4d9e29c3c5c178d8565ca530d870586e
DIR parent 24c4c46b98e19733700cdb0bccf1c56577f0f56a
HTML Author: rsc <devnull@localhost>
Date: Wed, 24 May 2006 06:09:27 +0000
make sure we get our fmod
Diffstat:
M src/cmd/astro/astro.h | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
---
DIR diff --git a/src/cmd/astro/astro.h b/src/cmd/astro/astro.h
t@@ -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;
t@@ -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);