Gpm_Event ev;
int modifiers = 0;
int button = 1;
- Lisp_Object fake_event;
+ Lisp_Object fake_event = Qnil;
Lisp_Event *event = NULL;
struct gcpro gcpro1;
static int num_events;
struct device *d = decode_device (Qnil);
int fd = DEVICE_INFD (d);
char c = 3;
- Lisp_Object output_stream;
- Lisp_Object terminal_stream;
- Lisp_Object output_string;
+ Lisp_Object output_stream = Qnil;
+ Lisp_Object terminal_stream = Qnil ;
+ Lisp_Object output_string = Qnil;
struct gcpro gcpro1,gcpro2,gcpro3;
GCPRO3(output_stream,terminal_stream,output_string);
conn.maxMod = ((1<<KG_SHIFT)|(1<<KG_ALT)|(1<<KG_CTRL));
/* Reset some silly static variables so that multiple Gpm_Open()
- ** calls have even a sligh chance of working
+ ** calls have even a slight chance of working
*/
gpm_tried = 0;
gpm_flag = 0;
gpm_event_queue_tail = Qnil;
staticpro (&gpm_event_queue);
staticpro (&gpm_event_queue_tail);
- pdump_wire (&gpm_event_queue);
- pdump_wire (&gpm_event_queue_tail);
+ dump_add_root_object (&gpm_event_queue);
+ dump_add_root_object (&gpm_event_queue_tail);
}
void syms_of_gpmevent (void)