summaryrefslogtreecommitdiffstats
path: root/libcorkscrew/arch-x86/ptrace-x86.c
diff options
context:
space:
mode:
authorEdwin Vane <edwin.vane@intel.com>2012-07-26 14:18:23 -0400
committerEdwin Vane <edwin.vane@intel.com>2012-08-13 09:11:03 -0400
commit46beebea823878218fc0f14723829d83886af978 (patch)
tree3b25e3383c1c40e052455253ecaf1f10e7054b3b /libcorkscrew/arch-x86/ptrace-x86.c
parent605f8706c88b2cd5d024b0a6b7253a78d968ba72 (diff)
downloadsystem_core-46beebea823878218fc0f14723829d83886af978.zip
system_core-46beebea823878218fc0f14723829d83886af978.tar.gz
system_core-46beebea823878218fc0f14723829d83886af978.tar.bz2
Fix unused parameter warnings
-Werror is used for this project so these warnings were causing the clang build to fail. Change-Id: I18c447ce239645e05f59c3cf0e2b8bb17d9d3030 Author: Edwin Vane <edwin.vane@intel.com> Reviewed-by: Tarea A Siraj <tareq.a.siraj@intel.com>
Diffstat (limited to 'libcorkscrew/arch-x86/ptrace-x86.c')
-rw-r--r--libcorkscrew/arch-x86/ptrace-x86.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/libcorkscrew/arch-x86/ptrace-x86.c b/libcorkscrew/arch-x86/ptrace-x86.c
index f0ea110..07cfd3a 100644
--- a/libcorkscrew/arch-x86/ptrace-x86.c
+++ b/libcorkscrew/arch-x86/ptrace-x86.c
@@ -21,8 +21,11 @@
#include <cutils/log.h>
-void load_ptrace_map_info_data_arch(pid_t pid, map_info_t* mi, map_info_data_t* data) {
+void load_ptrace_map_info_data_arch(pid_t pid __attribute__((unused)),
+ map_info_t* mi __attribute__((unused)),
+ map_info_data_t* data __attribute__((unused))) {
}
-void free_ptrace_map_info_data_arch(map_info_t* mi, map_info_data_t* data) {
+void free_ptrace_map_info_data_arch(map_info_t* mi __attribute__((unused)),
+ map_info_data_t* data __attribute__((unused))) {
}