summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-09-05 03:40:36 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-09-05 03:40:36 +0000
commit8b1215eb6e1f8d21206d1ce107005424dbcec4a6 (patch)
tree57a14b75e9f55ac6f9e2bf9269b3ad9a9e07b3a2
parentFix build on -current by not initializing FILE * variables statically (diff)
Fix build on -current by removing bogus duplicate declarations of things
from system headers.
Notes
Notes: svn path=/head/; revision=65648
-rw-r--r--misc/viz/files/patch-ab15
1 files changed, 15 insertions, 0 deletions
diff --git a/misc/viz/files/patch-ab b/misc/viz/files/patch-ab
new file mode 100644
index 000000000000..2145505ecd26
--- /dev/null
+++ b/misc/viz/files/patch-ab
@@ -0,0 +1,15 @@
+--- ./vizgrammar.y.orig Wed Sep 4 20:39:08 2002
++++ ./vizgrammar.y Wed Sep 4 20:39:37 2002
+@@ -71,11 +71,10 @@
+ #include <ctype.h>
+ #include "string.h"
+ #include <errno.h>
++#include <stdlib.h>
+
+ #include "viz.h"
+
+-extern errno;
+-extern char *malloc();
+ extern int do_condense;
+
+ static mathreg = 0; /* For handling multiple-term math expressions */