freebsd-ports/astro/ephem/files/patch-compiler.c
Pav Lucistnik 409980699a - Fix build with gcc41
- Update maintainer's address

PR:		ports/108190
Submitted by:	Slaven Rezic <slaven@rezic.de> (maintainer)
2007-01-24 23:18:05 +00:00

18 lines
484 B
C

diff -u compiler.c.orig compiler.c
--- compiler.c.orig Sun Jan 21 20:26:09 2007
+++ compiler.c Sun Jan 21 20:33:59 2007
@@ -13,6 +13,14 @@
#include <stdlib.h>
#endif
#include "screen.h"
+#include <stdio.h>
+#include <string.h>
+
+static next_token();
+static skip_double();
+static compile(int prec);
+static execute(double *result);
+static parse_fieldname();
/* parser tokens and opcodes, as necessary */
#define HALT 0 /* good value for HALT since program is inited to 0 */