Mercurial > emacs
view oldXMenu/SetAEQ.c @ 70242:90c1af0130a2
(store_in_keymap): Change `def' arg to not be `register'.
Seems to trigger a bug in gcc-amd64 4.0.2 20051125 (Red Hat 4.0.2-8):
keymap.c:895: error: address of register variable `def' requested.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Wed, 26 Apr 2006 20:50:25 +0000 |
parents | e8a3fb527b77 |
children | ce127a46b1ca d04d8ccb3c41 c5406394f567 |
line wrap: on
line source
#include "copyright.h" /* Copyright Massachusetts Institute of Technology 1985 */ /* Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. */ /* * XMenu: MIT Project Athena, X Window system menu package * * XMenuSetAEQ - Set Asynchronous event queuing mode. * When enabled asynchronous events will be queue while * a menu is being displayed and restored to the X * event queue when the menu is taken down. * * Author: Tony Della Fera, DEC * March 12, 1986 * */ #include "XMenuInt.h" XMenuSetAEQ(menu, aeq) register XMenu *menu; /* Menu object to be modified. */ register int aeq; /* AEQ mode? */ { /* * Set the AEQ mode switch. */ menu->aeq = aeq; } /* arch-tag: 48fc22b4-0722-4852-a044-788444e4a9dc (do not change this comment) */