commit | 064e535057f6cff2ffb1a946181e1d51378f4dbd | [log] [tgz] |
---|---|---|
author | Sharvil Nanavati <sharvil@google.com> | Thu Jul 17 15:45:40 2014 -0700 |
committer | Sharvil Nanavati <sharvil@google.com> | Thu Jul 17 15:48:06 2014 -0700 |
tree | fcfa2bc38bd5ac758eb7c1312a936e5e6e00dcc5 | |
parent | aed212f0cbedab9d7c19a5773c77557aa100a358 [diff] |
Fix build warning about unused argument. Change-Id: I3ae26dfc4ffd97d039386f55e3290a6cf36ae17d
diff --git a/system/osi/test/alarm_test.cpp b/system/osi/test/alarm_test.cpp index 438b3c7..d08cf6d 100644 --- a/system/osi/test/alarm_test.cpp +++ b/system/osi/test/alarm_test.cpp
@@ -4,6 +4,7 @@ extern "C" { #include "alarm.h" +#include "osi.h" #include "semaphore.h" } @@ -48,7 +49,7 @@ } }; -static void cb(void *data) { +static void cb(UNUSED_ATTR void *data) { ++cb_counter; semaphore_post(semaphore); }