aboutsummaryrefslogtreecommitdiffstats
path: root/libsuspend
diff options
context:
space:
mode:
authorEdwin Vane <edwin.vane@intel.com>2012-07-26 15:26:46 -0400
committerEdwin Vane <edwin.vane@intel.com>2012-08-02 10:40:12 -0400
commit62f9ffac1aa4809c0acd29dc4c4872a3b4da2062 (patch)
treeccd96bf7af4ac971b32dda57aac0a0f213c8bc98 /libsuspend
parenta5db95da3801cd82df80c41996b1e6f69a9acecf (diff)
downloadsystem_core-62f9ffac1aa4809c0acd29dc4c4872a3b4da2062.zip
system_core-62f9ffac1aa4809c0acd29dc4c4872a3b4da2062.tar.gz
system_core-62f9ffac1aa4809c0acd29dc4c4872a3b4da2062.tar.bz2
Fix unused param warning
libsuspend had only a single warning in the clang build. Fixing it to make the build clean. Change-Id: Iaac5f9144b6e6cb122141c6416056c1b2c9aa98e Author: Edwin Vane <edwin.vane@intel.com> Reviewed-by: Kevin P Schoedel <kevin.p.schoedel@intel.com>
Diffstat (limited to 'libsuspend')
-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 b038e20..a88e677 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];