X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=extras%2Fezio%2Fterminal.c;h=3e499ab016ba93e9d741b4b6bc3f85fb5afeae2f;hb=480ce8ab;hp=e41a987dbc99d51be5422df640a63ac3eb3645e7;hpb=34e63086edddcae06d7c1a4fa84fec0861e50758;p=openvswitch diff --git a/extras/ezio/terminal.c b/extras/ezio/terminal.c index e41a987d..3e499ab0 100644 --- a/extras/ezio/terminal.c +++ b/extras/ezio/terminal.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. @@ -26,10 +26,10 @@ #include "ezio.h" #include "poll-loop.h" #include "util.h" - -#define THIS_MODULE VLM_terminal #include "vlog.h" +VLOG_DEFINE_THIS_MODULE(terminal) + /* UTF-8 decoding. */ static struct utf8_reader *utf8_reader_create(void); static void utf8_reader_destroy(struct utf8_reader *); @@ -97,7 +97,7 @@ terminal_run(struct terminal *term, struct ezio *ezio, int input_fd) } void -terminal_wait(struct terminal *term UNUSED, int input_fd) +terminal_wait(struct terminal *term OVS_UNUSED, int input_fd) { poll_fd_wait(input_fd, POLLIN); }