diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2017-06-20 08:48:14 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2017-06-20 09:01:43 -0700 |
commit | fb45f7075afa033de27e358739cbda0107af12b2 (patch) | |
tree | 010d44c8382fd68eb13ae680d96a3cfa83aba25a /src/widget.h | |
parent | 6fcbbc393eced8350f6d4679d8070bfc48244aab (diff) | |
download | emacs-fb45f7075afa033de27e358739cbda0107af12b2.tar.gz emacs-fb45f7075afa033de27e358739cbda0107af12b2.tar.bz2 emacs-fb45f7075afa033de27e358739cbda0107af12b2.zip |
Fix crash when built by GNU Gold linker on x86
Problem reported by Andrés Musetti (Bug#27248).
* src/widget.c (emacsFrameClassRec): Do not initialize superclass here.
(emacsFrameClass): Now a function (which initializes the
superclass) instead of a variable. All uses changed.
Diffstat (limited to 'src/widget.h')
-rw-r--r-- | src/widget.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widget.h b/src/widget.h index 2c5fb61df2f..97dd6ab61de 100644 --- a/src/widget.h +++ b/src/widget.h @@ -90,7 +90,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ typedef struct _EmacsFrameRec *EmacsFrame; typedef struct _EmacsFrameClassRec *EmacsFrameClass; -extern WidgetClass emacsFrameClass; +extern WidgetClass emacsFrameClass (void); extern struct _DisplayContext *display_context; |