summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpsmith <>2011-05-02 12:29:09 +0000
committerpsmith <>2011-05-02 12:29:09 +0000
commit48ea84114b8e561a4b820fd8efe91973914ae7d9 (patch)
treef1ab253051b95383b43ad56f2c9ce5560d333d3f
parentc92ea87839bd1ace8552dff47f67c1ca76b3b9b8 (diff)
downloadmake-48ea84114b8e561a4b820fd8efe91973914ae7d9.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 06f7fde9..78b6b9eb 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 ea44ee4d..f5fece5e 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