[FIX] Fix arm build
authorDmitry Bogatov <d.bogatov@samsung.com>
Wed, 30 Oct 2013 08:55:53 +0000 (12:55 +0400)
committerDmitry Bogatov <d.bogatov@samsung.com>
Wed, 30 Oct 2013 08:55:53 +0000 (12:55 +0400)
Change-Id: I7a6a7c80d980686496ee374e8db6afd14b75ae61

probe_userfunc/libdauserfunc.c

index b23d721b97b4ab4ca7fb6d0aa7e32d4827c38e8f..cc6e95bc52e7a4f6d2df10c99c4d90b0bb0e6c97 100755 (executable)
@@ -352,7 +352,7 @@ void mcount(void)
 }
 
 #elif defined(__arm__)
-void mcount_internal(u_long frompc, u_long selfpc)
+void mcount_internal(u_long __unused frompc, u_long __unused selfpc)
 {
        return;
 }
@@ -429,7 +429,8 @@ static void profil_counter(int __unused signo, const struct sigcontext scp)
        asm volatile("");
 }
 #elif defined(__arm__)
-static void profil_counter(int signr, siginfo_t *si, struct ucontext *uctx)
+static void profil_counter(int __unused signr, siginfo_t __unused * si,
+                          struct ucontext *uctx)
 {
        profil_count((void *) GET_PC(uctx));