OSDN Git Service

PARAMS elimination.
authorKevin Buettner <kevinb@redhat.com>
Tue, 11 Jul 2000 03:13:26 +0000 (03:13 +0000)
committerKevin Buettner <kevinb@redhat.com>
Tue, 11 Jul 2000 03:13:26 +0000 (03:13 +0000)
gdb/gdbtk/generic/ChangeLog
gdb/gdbtk/generic/gdbtk-cmds.c
gdb/gdbtk/generic/gdbtk-hooks.c
gdb/gdbtk/generic/gdbtk-variable.c

index 45c6927..30897b5 100644 (file)
@@ -1,3 +1,8 @@
+2000-07-10  Kevin Buettner  <kevinb@redhat.com>
+
+       * gdbtk-cmds.c, gdbtk-hooks.c, gdbtk-variable.c: Eliminate use
+       of PARAMS in function pointer declarations.
+
 2000-07-02  Kevin Buettner  <kevinb@redhat.com>
 
        * gdbtk-cmds.c, gdbtk-hooks.c, gdbtk-variable.c,
index 22354bc..f16e21b 100644 (file)
@@ -1747,7 +1747,7 @@ static int
 map_arg_registers (objc, objv, func, argp)
      int objc;
      Tcl_Obj *CONST objv[];
-     void (*func) PARAMS ((int regnum, void *argp));
+     void (*func) (int regnum, void *argp);
      void *argp;
 {
   int regnum, numregs;
index fe680d9..e780d81 100644 (file)
@@ -65,10 +65,10 @@ volatile int in_fputs = 0;
    that it should forcibly detach from the target. */
 int gdbtk_force_detach = 0;
 
-extern void (*pre_add_symbol_hook) PARAMS ((char *));
-extern void (*post_add_symbol_hook) PARAMS ((void));
-extern void (*selected_frame_level_changed_hook) PARAMS ((int));
-extern int (*ui_loop_hook) PARAMS ((int));
+extern void (*pre_add_symbol_hook) (char *);
+extern void (*post_add_symbol_hook) (void);
+extern void (*selected_frame_level_changed_hook) (int);
+extern int (*ui_loop_hook) (int);
 
 static void gdbtk_create_tracepoint (struct tracepoint *);
 static void gdbtk_delete_tracepoint (struct tracepoint *);
index e642245..c7a9f16 100644 (file)
@@ -126,25 +126,25 @@ struct language_specific {
   enum vlanguage language;
 
   /* The number of children of PARENT. */
-  int (*number_of_children) PARAMS ((struct _gdb_variable *parent));
+  int (*number_of_children) (struct _gdb_variable * parent);
 
   /* The name of the INDEX'th child of PARENT. */
-  char *(*name_of_child) PARAMS ((struct _gdb_variable *parent, int index));
+  char *(*name_of_child) (struct _gdb_variable * parent, int index);
 
   /* The value_ptr of the root variable ROOT. */
-  value_ptr (*value_of_root) PARAMS ((struct _gdb_variable *root));
+  value_ptr (*value_of_root) (struct _gdb_variable * root);
 
   /* The value_ptr of the INDEX'th child of PARENT. */
-  value_ptr (*value_of_child) PARAMS ((struct _gdb_variable *parent, int index));
+  value_ptr (*value_of_child) (struct _gdb_variable * parent, int index);
 
   /* The type of the INDEX'th child of PARENT. */
-  struct type *(*type_of_child) PARAMS ((struct _gdb_variable *parent, int index));
+  struct type *(*type_of_child) (struct _gdb_variable * parent, int index);
 
   /* Is VAR editable? */
-  int (*variable_editable) PARAMS ((struct _gdb_variable *var));
+  int (*variable_editable) (struct _gdb_variable * var);
 
   /* The current value of VAR is returned in *OBJ. */
-  int (*value_of_variable) PARAMS ((struct _gdb_variable *var, Tcl_Obj **obj));
+  int (*value_of_variable) (struct _gdb_variable * var, Tcl_Obj ** obj);
 };
 
 struct vstack {