vlog: Make the vlog module catalog program-specific.
[openvswitch] / extras / ezio / terminal.c
index e41a987dbc99d51be5422df640a63ac3eb3645e7..3e499ab016ba93e9d741b4b6bc3f85fb5afeae2f 100644 (file)
@@ -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.
 #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);
 }