OSDN Git Service
(root)
/
android-x86
/
system-bt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1afbe15
)
Fix build warning about unused argument.
author
Sharvil Nanavati
<sharvil@google.com>
Thu, 17 Jul 2014 22:45:40 +0000
(15:45 -0700)
committer
Sharvil Nanavati
<sharvil@google.com>
Thu, 17 Jul 2014 22:48:06 +0000
(15:48 -0700)
Change-Id: I3ae26dfc4ffd97d039386f55e3290a6cf36ae17d
osi/test/alarm_test.cpp
patch
|
blob
|
history
diff --git
a/osi/test/alarm_test.cpp
b/osi/test/alarm_test.cpp
index
438b3c7
..
d08cf6d
100644
(file)
--- a/
osi/test/alarm_test.cpp
+++ b/
osi/test/alarm_test.cpp
@@
-4,6
+4,7
@@
extern "C" {
#include "alarm.h"
+#include "osi.h"
#include "semaphore.h"
}
@@
-48,7
+49,7
@@
class AlarmTest : public ::testing::Test {
}
};
-static void cb(void *data) {
+static void cb(
UNUSED_ATTR
void *data) {
++cb_counter;
semaphore_post(semaphore);
}