Mercurial > hg > xemacs-beta
comparison src/device-tty.c @ 2286:04bc9d2f42c7
[xemacs-hg @ 2004-09-20 19:18:55 by james]
Mark all unused parameters as unused. Also eliminate some unneeded local
variables.
author | james |
---|---|
date | Mon, 20 Sep 2004 19:20:08 +0000 |
parents | a8d8f419b459 |
children | 3d8143fc88e1 |
comparison
equal
deleted
inserted
replaced
2285:914c5afaac33 | 2286:04bc9d2f42c7 |
---|---|
49 { | 49 { |
50 d->device_data = xnew_and_zero (struct tty_device); | 50 d->device_data = xnew_and_zero (struct tty_device); |
51 } | 51 } |
52 | 52 |
53 static void | 53 static void |
54 tty_init_device (struct device *d, Lisp_Object props) | 54 tty_init_device (struct device *d, Lisp_Object UNUSED (props)) |
55 { | 55 { |
56 struct console *con = XCONSOLE (DEVICE_CONSOLE (d)); | 56 struct console *con = XCONSOLE (DEVICE_CONSOLE (d)); |
57 Lisp_Object terminal_type = CONSOLE_TTY_DATA (con)->terminal_type; | 57 Lisp_Object terminal_type = CONSOLE_TTY_DATA (con)->terminal_type; |
58 | 58 |
59 DEVICE_INFD (d) = CONSOLE_TTY_DATA (con)->infd; | 59 DEVICE_INFD (d) = CONSOLE_TTY_DATA (con)->infd; |
111 } | 111 } |
112 | 112 |
113 #ifdef SIGWINCH | 113 #ifdef SIGWINCH |
114 | 114 |
115 static SIGTYPE | 115 static SIGTYPE |
116 tty_device_size_change_signal (int signo) | 116 tty_device_size_change_signal (int UNUSED (signo)) |
117 { | 117 { |
118 int old_errno = errno; | 118 int old_errno = errno; |
119 asynch_device_change_pending++; | 119 asynch_device_change_pending++; |
120 #ifdef HAVE_UNIXOID_EVENT_LOOP | 120 #ifdef HAVE_UNIXOID_EVENT_LOOP |
121 signal_fake_event (); | 121 signal_fake_event (); |