Mercurial > hg > xemacs-beta
comparison src/sysdep.c @ 2311:2200ebac5409
[xemacs-hg @ 2004-09-27 18:39:11 by james]
Mark more unused parameters.
author | james |
---|---|
date | Mon, 27 Sep 2004 18:39:23 +0000 |
parents | 04bc9d2f42c7 |
children | 91a83e231f92 |
comparison
equal
deleted
inserted
replaced
2310:f6ea7b737c3d | 2311:2200ebac5409 |
---|---|
148 #ifdef SIGTSTP | 148 #ifdef SIGTSTP |
149 | 149 |
150 /* Arrange for character C to be read as the next input from | 150 /* Arrange for character C to be read as the next input from |
151 the terminal. */ | 151 the terminal. */ |
152 void | 152 void |
153 stuff_char (struct console *con, int c) | 153 stuff_char (struct console *con, |
154 #ifdef TIOCSTI | |
155 int c | |
156 #else | |
157 int UNUSED (c) | |
158 #endif | |
159 ) | |
154 { | 160 { |
155 int input_fd; | 161 int input_fd; |
156 | 162 |
157 assert (CONSOLE_TTY_P (con)); | 163 assert (CONSOLE_TTY_P (con)); |
158 input_fd = CONSOLE_TTY_DATA (con)->infd; | 164 input_fd = CONSOLE_TTY_DATA (con)->infd; |
167 #endif /* SIGTSTP */ | 173 #endif /* SIGTSTP */ |
168 | 174 |
169 #endif /* HAVE_TTY */ | 175 #endif /* HAVE_TTY */ |
170 | 176 |
171 void | 177 void |
172 set_exclusive_use (int fd) | 178 set_exclusive_use ( |
179 #ifdef FIOCLEX | |
180 int fd | |
181 #else | |
182 int UNUSED (fd) | |
183 #endif | |
184 ) | |
173 { | 185 { |
174 #ifdef FIOCLEX | 186 #ifdef FIOCLEX |
175 ioctl (fd, FIOCLEX, 0); | 187 ioctl (fd, FIOCLEX, 0); |
176 #endif | 188 #endif |
177 /* Ok to do nothing if this feature does not exist */ | 189 /* Ok to do nothing if this feature does not exist */ |