Use names for all prototype arguments
authorMichael Meissner <gnu@the-meissners.org>
Wed, 26 Nov 1997 21:48:58 +0000 (21:48 +0000)
committerMichael Meissner <gnu@the-meissners.org>
Wed, 26 Nov 1997 21:48:58 +0000 (21:48 +0000)
include/ChangeLog
include/callback.h

index 02cf6f0..9421a78 100644 (file)
@@ -1,3 +1,8 @@
+Wed Nov 26 16:47:58 1997  Michael Meissner  <meissner@cygnus.com>
+
+       * callback.h (CB_SYSCALL): Consistantly use names for prototype
+       arguments.
+
 Wed Nov 26 11:39:30 1997  Doug Evans  <devans@canuck.cygnus.com>
 
        * callback.h (CB_SYSCALL): Change byte count arguments to
index d2847cc..036020e 100644 (file)
@@ -208,9 +208,9 @@ 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 *, struct cb_syscall *,
+  int (*read_mem) PARAMS ((host_callback *cb, struct cb_syscall *sc,
                           unsigned long taddr, char *buf, int bytes));
-  int (*write_mem) PARAMS ((host_callback *, struct cb_syscall *,
+  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.  */