aboutsummaryrefslogtreecommitdiff
path: root/include/callback.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/callback.h')
-rw-r--r--include/callback.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/include/callback.h b/include/callback.h
index 036020e..3075284 100644
--- a/include/callback.h
+++ b/include/callback.h
@@ -208,10 +208,12 @@ typedef struct cb_syscall {
argument here. We mimic sim_{read,write} for now. Be careful to
test any changes with -Wall -Werror, mixed signed comparisons
will get you. */
- int (*read_mem) PARAMS ((host_callback *cb, struct cb_syscall *sc,
- unsigned long taddr, char *buf, int bytes));
- int (*write_mem) PARAMS ((host_callback *cb, struct cb_syscall *sc,
- unsigned long taddr, const char *buf, int bytes));
+ int (*read_mem) PARAMS ((host_callback * /*cb*/, struct cb_syscall * /*sc*/,
+ unsigned long /*taddr*/, char * /*buf*/,
+ int /*bytes*/));
+ int (*write_mem) PARAMS ((host_callback * /*cb*/, struct cb_syscall * /*sc*/,
+ unsigned long /*taddr*/, const char * /*buf*/,
+ int /*bytes*/));
/* For sanity checking, should be last entry. */
int magic;