aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>1997-12-01 19:30:53 +0000
committerDoug Evans <dje@google.com>1997-12-01 19:30:53 +0000
commit1e92854b08002f7c2a01d3ee6da45c43ff3c3e2e (patch)
tree26b885082048a861ce265711d7c0cd5afaf76826
parent1f3880e1f095c873d43cf52a2230739a7716be07 (diff)
downloadgdb-1e92854b08002f7c2a01d3ee6da45c43ff3c3e2e.zip
gdb-1e92854b08002f7c2a01d3ee6da45c43ff3c3e2e.tar.gz
gdb-1e92854b08002f7c2a01d3ee6da45c43ff3c3e2e.tar.bz2
* callback.h (CB_SYSCALL): Comment out arg names in prototypes.
-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;