summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2011-05-02 12:29:09 +0000
committerPaul Smith <psmith@gnu.org>2011-05-02 12:29:09 +0000
commitdc90160079b692e862c6aee2709c4c7bea178aa3 (patch)
treeab6214dd4ae6164b2fc43045591d8eb8cdb14ea7
parenta81ee5209b97564ce9c2d87f8842c3473fd72490 (diff)
downloadgunmake-dc90160079b692e862c6aee2709c4c7bea178aa3.tar.gz
Extern the global declaration of stack_limit. Fixes Savannah bug #32753
-rw-r--r--ChangeLog5
-rw-r--r--make.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 06f7fde..78b6b9e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-05-02 Paul Smith <psmith@gnu.org>
+
+ * make.h: Make global variable stack_limit extern.
+ Fixes Savannah bug #32753.
+
2011-05-01 Paul Smith <psmith@gnu.org>
* read.c (parse_file_seq): Don't try to invoke glob() unless there
diff --git a/make.h b/make.h
index ea44ee4..f5fece5 100644
--- a/make.h
+++ b/make.h
@@ -353,7 +353,7 @@ extern int unixy_shell;
#endif
#ifdef SET_STACK_SIZE
# include <sys/resource.h>
-struct rlimit stack_limit;
+extern struct rlimit stack_limit;
#endif
struct floc