* callback.h (CB_SYSCALL): Comment out arg names in prototypes.
authorDoug Evans <dje@google.com>
Mon, 1 Dec 1997 19:30:53 +0000 (19:30 +0000)
committerDoug Evans <dje@google.com>
Mon, 1 Dec 1997 19:30:53 +0000 (19:30 +0000)
include/callback.h

index 036020e0226d3d309b947fd83eed36639fa23c1c..30752842ed90aefd2d33a30701b6aba0a94e53ae 100644 (file)
@@ -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;