]> git.ipfire.org Git - thirdparty/make.git/commitdiff
Extern the global declaration of stack_limit. Fixes Savannah bug #32753
authorPaul Smith <psmith@gnu.org>
Mon, 2 May 2011 12:29:09 +0000 (12:29 +0000)
committerPaul Smith <psmith@gnu.org>
Mon, 2 May 2011 12:29:09 +0000 (12:29 +0000)
ChangeLog
make.h

index 06f7fde905a92fff7f06ec37937a7afdd9a524ce..78b6b9ebaac5cb3b6dfa4553427360f05d4bbe22 100644 (file)
--- 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 ea44ee4d24f41ad7151de78e26d55cebd3dfa1e8..f5fece5ecbb1a32e671d88e2f319a4e3215baf3f 100644 (file)
--- 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