No longer define `static' as nothing.

This commit is contained in:
Glenn Morris 2007-09-15 19:50:16 +00:00
parent 29100cfa0e
commit fc2b776c39
2 changed files with 10 additions and 2 deletions

View file

@ -1,3 +1,7 @@
2007-09-15 Glenn Morris <rgm@gnu.org>
* s/hpux.h: No longer define `static' as nothing.
2007-09-14 Glenn Morris <rgm@gnu.org>
* fringe.c (init_fringe_bitmap) <swap nibble>: Move to file scope.

View file

@ -167,9 +167,13 @@ Boston, MA 02110-1301, USA. */
/* USG systems tend to put everything declared static
into the initialized data area, which becomes pure after dumping Emacs.
Foil this. Emacs carefully avoids static vars inside functions. */
Foil this. Emacs carefully avoids static vars inside functions.
http://lists.gnu.org/archive/html/emacs-devel/2007-09/msg00368.html
As of at least HPUX 11.11 (2000), it seems this workaround is no
longer needed. Try uncommenting the following if you have problems
on older versions. */
#define static
/*#define static */
/* Define extra libraries to load.
This should have -lBSD, but that library is said to make