+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,
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;
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 *);
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 {