diff options
author | gpalmer <gpalmer@FreeBSD.org> | 1996-06-12 05:11:41 +0000 |
---|---|---|
committer | gpalmer <gpalmer@FreeBSD.org> | 1996-06-12 05:11:41 +0000 |
commit | 57c3ebc617f6ed31240847c6fce74931a372824c (patch) | |
tree | c727af841ff654969571e10a8dc92e2a987cd0c2 /sys/compat/linux/linux_ioctl.c | |
parent | d356aa8b627cecbc5a3a5e98327366686498962d (diff) | |
download | FreeBSD-src-57c3ebc617f6ed31240847c6fce74931a372824c.zip FreeBSD-src-57c3ebc617f6ed31240847c6fce74931a372824c.tar.gz |
Clean up -Wunused warnings.
Reviewed by: bde
Diffstat (limited to 'sys/compat/linux/linux_ioctl.c')
-rw-r--r-- | sys/compat/linux/linux_ioctl.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/compat/linux/linux_ioctl.c b/sys/compat/linux/linux_ioctl.c index 9c9c668..821d844 100644 --- a/sys/compat/linux/linux_ioctl.c +++ b/sys/compat/linux/linux_ioctl.c @@ -25,7 +25,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: linux_ioctl.c,v 1.8 1996/03/04 11:15:19 peter Exp $ + * $Id: linux_ioctl.c,v 1.9 1996/03/10 22:30:53 peter Exp $ */ #include <sys/param.h> @@ -122,7 +122,7 @@ static void bsd_to_linux_termios(struct termios *bsd_termios, struct linux_termios *linux_termios) { - int i, speed; + int i; #ifdef DEBUG printf("LINUX: BSD termios structure (input):\n"); @@ -263,7 +263,7 @@ static void linux_to_bsd_termios(struct linux_termios *linux_termios, struct termios *bsd_termios) { - int i, speed; + int i; #ifdef DEBUG printf("LINUX: LINUX termios structure (input):\n"); printf("i=%08x o=%08x c=%08x l=%08x line=%d\n", @@ -451,10 +451,8 @@ int linux_ioctl(struct proc *p, struct linux_ioctl_args *args, int *retval) { struct termios bsd_termios; - struct winsize bsd_winsize; struct linux_termios linux_termios; struct linux_termio linux_termio; - struct linux_winsize linux_winsize; struct filedesc *fdp = p->p_fd; struct file *fp; int (*func)(struct file *fp, int com, caddr_t data, struct proc *p); |