diff options
author | Ben Pfaff <blp@nicira.com> | 2010-02-11 11:11:23 -0800 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2010-02-11 11:11:23 -0800 |
commit | c69ee87c10818267f991236201150b1fa51ae519 (patch) | |
tree | abea72de06ca718ef0296b88ee84a1bf889fed8c /lib/coverage.c | |
parent | 62ee3464d99c0e37f38b503321cd46181c5c7617 (diff) | |
parent | 67a4917b07031b387beafaedce413b4207214059 (diff) |
Merge "master" into "next".
The main change here is the need to update all of the uses of UNUSED in
the next branch to OVS_UNUSED as it is now spelled on "master".
Diffstat (limited to 'lib/coverage.c')
-rw-r--r-- | lib/coverage.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/coverage.c b/lib/coverage.c index 8b5e9d9c..5c99c18a 100644 --- a/lib/coverage.c +++ b/lib/coverage.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009 Nicira Networks. + * Copyright (c) 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. @@ -30,8 +30,8 @@ static unsigned int epoch; static void -coverage_unixctl_log(struct unixctl_conn *conn, const char *args UNUSED, - void *aux UNUSED) +coverage_unixctl_log(struct unixctl_conn *conn, const char *args OVS_UNUSED, + void *aux OVS_UNUSED) { coverage_log(VLL_WARN, false); unixctl_command_reply(conn, 200, NULL); @@ -109,7 +109,7 @@ coverage_hit(uint32_t hash) unsigned int word_mask = 1u << (bit_index % BITS_PER_WORD); if (hit[word_index] & word_mask) { - return true; + return true; } else { hit[word_index] |= word_mask; return false; |