aboutsummaryrefslogtreecommitdiffstats
path: root/src/widget.h
diff options
context:
space:
mode:
authorPaul Eggert2017-06-20 08:48:14 -0700
committerPaul Eggert2017-06-20 09:01:43 -0700
commitfb45f7075afa033de27e358739cbda0107af12b2 (patch)
tree010d44c8382fd68eb13ae680d96a3cfa83aba25a /src/widget.h
parent6fcbbc393eced8350f6d4679d8070bfc48244aab (diff)
downloademacs-fb45f7075afa033de27e358739cbda0107af12b2.tar.gz
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.h2
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/>. */
90typedef struct _EmacsFrameRec *EmacsFrame; 90typedef struct _EmacsFrameRec *EmacsFrame;
91typedef struct _EmacsFrameClassRec *EmacsFrameClass; 91typedef struct _EmacsFrameClassRec *EmacsFrameClass;
92 92
93extern WidgetClass emacsFrameClass; 93extern WidgetClass emacsFrameClass (void);
94 94
95extern struct _DisplayContext *display_context; 95extern struct _DisplayContext *display_context;
96 96