projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename UNUSED macro to OVS_UNUSED to avoid naming conflict.
[openvswitch]
/
lib
/
vlog.c
diff --git
a/lib/vlog.c
b/lib/vlog.c
index 1b95d96c1cbf37ea4ed5347f4b1d0e023ee8bb8f..0fab00f14a4ab52182b15c7af48c7dd7c481cdb1 100644
(file)
--- a/
lib/vlog.c
+++ b/
lib/vlog.c
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (c) 2008, 2009 Nicira Networks.
+ * Copyright (c) 2008, 2009
, 2010
Nicira Networks.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@
-393,7
+393,7
@@
vlog_unixctl_set(struct unixctl_conn *conn, const char *args)
}
static void
}
static void
-vlog_unixctl_list(struct unixctl_conn *conn, const char *args UNUSED)
+vlog_unixctl_list(struct unixctl_conn *conn, const char *args
OVS_
UNUSED)
{
char *msg = vlog_get_levels();
unixctl_command_reply(conn, 200, msg);
{
char *msg = vlog_get_levels();
unixctl_command_reply(conn, 200, msg);
@@
-401,7
+401,7
@@
vlog_unixctl_list(struct unixctl_conn *conn, const char *args UNUSED)
}
static void
}
static void
-vlog_unixctl_reopen(struct unixctl_conn *conn, const char *args UNUSED)
+vlog_unixctl_reopen(struct unixctl_conn *conn, const char *args
OVS_
UNUSED)
{
if (log_file_name) {
int error = vlog_reopen_log_file();
{
if (log_file_name) {
int error = vlog_reopen_log_file();
@@
-522,7
+522,7
@@
format_log_message(enum vlog_module module, enum vlog_level level,
p++;
}
field = 0;
p++;
}
field = 0;
- while (isdigit(*p)) {
+ while (isdigit(
(unsigned char)
*p)) {
field = (field * 10) + (*p - '0');
p++;
}
field = (field * 10) + (*p - '0');
p++;
}