summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog10
-rw-r--r--parser.h1
-rw-r--r--regex.c1
-rw-r--r--regex.h2
4 files changed, 11 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 88dfb4a0..6ae568ed 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,15 @@
2011-10-30 Kaz Kylheku <kaz@kylheku.com>
+ We don't include headers in headers in this project.
+
+ * parser.h: Do not include <stdio.h>
+
+ * regex.c: Include <limits.h>
+
+ * regex.h: Do not include <limits.h>
+
+2011-10-30 Kaz Kylheku <kaz@kylheku.com>
+
Bug #34691
Changing the parameter passing convention for vertical directives.
diff --git a/parser.h b/parser.h
index 7d7e1fb8..5c096720 100644
--- a/parser.h
+++ b/parser.h
@@ -24,7 +24,6 @@
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
-#include <stdio.h>
extern cnum lineno;
extern int errors;
extern val yyin_stream;
diff --git a/regex.c b/regex.c
index a50f9007..700855bd 100644
--- a/regex.c
+++ b/regex.c
@@ -32,6 +32,7 @@
#include <dirent.h>
#include <setjmp.h>
#include <dirent.h>
+#include <limits.h>
#include "config.h"
#include "lib.h"
#include "unwind.h"
diff --git a/regex.h b/regex.h
index 2f8378c2..57d8fb6b 100644
--- a/regex.h
+++ b/regex.h
@@ -24,8 +24,6 @@
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
-#include <limits.h>
-
val regex_compile(val regex_sexp);
val regexp(val);
val search_regex(val haystack, val needle_regex, val start_num, val from_end);