X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=extras%2Fezio%2Ftty.c;h=432882852b4b2064f8729d50be9f1b1c8088fd52;hb=2d2a0e309f2464fd2cf77a328b15acc62cfc7c09;hp=709b80282917346223e8c8d1fba95c3e3ea8d73c;hpb=a14bc59fb8f27db193d74662dc9c5cb8237177ef;p=openvswitch diff --git a/extras/ezio/tty.c b/extras/ezio/tty.c index 709b8028..43288285 100644 --- a/extras/ezio/tty.c +++ b/extras/ezio/tty.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2008, 2009 Nicira Networks, Inc. +/* Copyright (c) 2008, 2009, 2010 Nicira Networks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -263,7 +263,7 @@ tty_set_raw_mode(int fd, speed_t speed) return errno; } s->tios = tios; - fatal_signal_add_hook(restore_termios, s, true); + fatal_signal_add_hook(restore_termios, NULL, s, true); tios.c_iflag &= ~(IGNBRK | BRKINT | PARMRK | ISTRIP | INLCR | IGNCR | ICRNL | IXON); @@ -374,7 +374,9 @@ tty_fork_child(int master_fd, char *argv[]) } int -tty_set_window_size(int fd UNUSED, int rows UNUSED, int columns UNUSED) +tty_set_window_size(int fd OVS_UNUSED, + int rows OVS_UNUSED, + int columns OVS_UNUSED) { #ifdef TIOCGWINSZ struct winsize win;