projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vlog: Introduce VLOG_DEFINE_THIS_MODULE for declaring vlog module in use.
[openvswitch]
/
extras
/
ezio
/
tty.c
diff --git
a/extras/ezio/tty.c
b/extras/ezio/tty.c
index 9b05480a2aa34f558e40901f6ad0324ce215d273..a4bb14ce2179eeb29e47dd694d0a6ded1bbe0549 100644
(file)
--- a/
extras/ezio/tty.c
+++ b/
extras/ezio/tty.c
@@
-28,10
+28,10
@@
#include "fatal-signal.h"
#include "socket-util.h"
#include "util.h"
#include "fatal-signal.h"
#include "socket-util.h"
#include "util.h"
-
-#define THIS_MODULE VLM_tty
#include "vlog.h"
#include "vlog.h"
+VLOG_DEFINE_THIS_MODULE(tty)
+
/* Get major() and minor() macros. */
#if MAJOR_IN_MKDEV
# include <sys/mkdev.h>
/* Get major() and minor() macros. */
#if MAJOR_IN_MKDEV
# include <sys/mkdev.h>
@@
-374,7
+374,9
@@
tty_fork_child(int master_fd, char *argv[])
}
int
}
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;
{
#ifdef TIOCGWINSZ
struct winsize win;