summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Hines <srhines@google.com>2012-08-08 17:44:07 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2012-08-08 17:44:07 -0700
commit30f52fea05fb91394b50793c5cb14ef05e5c94d6 (patch)
tree26769d7062d32e1b2b3dde644f16dfc0b6353d6f
parent278cded6bef25406fc47a23efab128a4ee522a17 (diff)
parent67bdfa9823dd954fdfaa01721da17d8252fc05d1 (diff)
downloadcore-30f52fea05fb91394b50793c5cb14ef05e5c94d6.tar.gz
core-30f52fea05fb91394b50793c5cb14ef05e5c94d6.tar.bz2
core-30f52fea05fb91394b50793c5cb14ef05e5c94d6.zip
am 67bdfa98: am d25b8502: Merge "Fix unused param warning"
* commit '67bdfa9823dd954fdfaa01721da17d8252fc05d1': Fix unused param warning
-rw-r--r--libsuspend/autosuspend_wakeup_count.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsuspend/autosuspend_wakeup_count.c b/libsuspend/autosuspend_wakeup_count.c
index b038e20f5..a88e67700 100644
--- a/libsuspend/autosuspend_wakeup_count.c
+++ b/libsuspend/autosuspend_wakeup_count.c
@@ -38,7 +38,7 @@ static pthread_t suspend_thread;
static sem_t suspend_lockout;
static const char *sleep_state = "mem";
-static void *suspend_thread_func(void *arg)
+static void *suspend_thread_func(void *arg __attribute__((unused)))
{
char buf[80];
char wakeup_count[20];