mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-28 15:18:37 +08:00
* mi/mi-cmd-break.c (mi_read_next_line): Add missing 'void'.
* defs.h (read_command_lines_1): Add missing 'void'. * cli/cli-script.c (recurse_read_control_structure): Add missing 'void'. (read_next_line): Likewise. (read_command_lines_1): Likewise.
This commit is contained in:
@ -1,3 +1,12 @@
|
|||||||
|
2010-03-02 Tom Tromey <tromey@redhat.com>
|
||||||
|
|
||||||
|
* mi/mi-cmd-break.c (mi_read_next_line): Add missing 'void'.
|
||||||
|
* defs.h (read_command_lines_1): Add missing 'void'.
|
||||||
|
* cli/cli-script.c (recurse_read_control_structure): Add missing
|
||||||
|
'void'.
|
||||||
|
(read_next_line): Likewise.
|
||||||
|
(read_command_lines_1): Likewise.
|
||||||
|
|
||||||
2010-03-02 Ulrich Weigand <uweigand@de.ibm.com>
|
2010-03-02 Ulrich Weigand <uweigand@de.ibm.com>
|
||||||
|
|
||||||
* spu-tdep.c (spu_analyze_prologue): Track instruction to
|
* spu-tdep.c (spu_analyze_prologue): Track instruction to
|
||||||
|
@ -39,14 +39,14 @@
|
|||||||
/* Prototypes for local functions */
|
/* Prototypes for local functions */
|
||||||
|
|
||||||
static enum command_control_type
|
static enum command_control_type
|
||||||
recurse_read_control_structure (char * (*read_next_line_func) (),
|
recurse_read_control_structure (char * (*read_next_line_func) (void),
|
||||||
struct command_line *current_cmd);
|
struct command_line *current_cmd);
|
||||||
|
|
||||||
static char *insert_args (char *line);
|
static char *insert_args (char *line);
|
||||||
|
|
||||||
static struct cleanup * setup_user_args (char *p);
|
static struct cleanup * setup_user_args (char *p);
|
||||||
|
|
||||||
static char *read_next_line ();
|
static char *read_next_line (void);
|
||||||
|
|
||||||
/* Level of control structure when reading. */
|
/* Level of control structure when reading. */
|
||||||
static int control_level;
|
static int control_level;
|
||||||
@ -845,7 +845,7 @@ realloc_body_list (struct command_line *command, int new_length)
|
|||||||
from stdout. */
|
from stdout. */
|
||||||
|
|
||||||
static char *
|
static char *
|
||||||
read_next_line ()
|
read_next_line (void)
|
||||||
{
|
{
|
||||||
char *prompt_ptr, control_prompt[256];
|
char *prompt_ptr, control_prompt[256];
|
||||||
int i = 0;
|
int i = 0;
|
||||||
@ -997,7 +997,7 @@ process_next_line (char *p, struct command_line **command, int parse_commands)
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
static enum command_control_type
|
static enum command_control_type
|
||||||
recurse_read_control_structure (char * (*read_next_line_func) (),
|
recurse_read_control_structure (char * (*read_next_line_func) (void),
|
||||||
struct command_line *current_cmd)
|
struct command_line *current_cmd)
|
||||||
{
|
{
|
||||||
int current_body, i;
|
int current_body, i;
|
||||||
@ -1145,7 +1145,7 @@ read_command_lines (char *prompt_arg, int from_tty, int parse_commands)
|
|||||||
obtained using READ_NEXT_LINE_FUNC. */
|
obtained using READ_NEXT_LINE_FUNC. */
|
||||||
|
|
||||||
struct command_line *
|
struct command_line *
|
||||||
read_command_lines_1 (char * (*read_next_line_func) (), int parse_commands)
|
read_command_lines_1 (char * (*read_next_line_func) (void), int parse_commands)
|
||||||
{
|
{
|
||||||
struct command_line *head, *tail, *next;
|
struct command_line *head, *tail, *next;
|
||||||
struct cleanup *old_chain;
|
struct cleanup *old_chain;
|
||||||
|
@ -707,7 +707,7 @@ struct command_line
|
|||||||
};
|
};
|
||||||
|
|
||||||
extern struct command_line *read_command_lines (char *, int, int);
|
extern struct command_line *read_command_lines (char *, int, int);
|
||||||
extern struct command_line *read_command_lines_1 (char * (*) (), int);
|
extern struct command_line *read_command_lines_1 (char * (*) (void), int);
|
||||||
|
|
||||||
extern void free_command_lines (struct command_line **);
|
extern void free_command_lines (struct command_line **);
|
||||||
|
|
||||||
|
@ -263,7 +263,7 @@ static int mi_command_line_array_cnt;
|
|||||||
static int mi_command_line_array_ptr;
|
static int mi_command_line_array_ptr;
|
||||||
|
|
||||||
static char *
|
static char *
|
||||||
mi_read_next_line ()
|
mi_read_next_line (void)
|
||||||
{
|
{
|
||||||
if (mi_command_line_array_ptr == mi_command_line_array_cnt)
|
if (mi_command_line_array_ptr == mi_command_line_array_cnt)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
Reference in New Issue
Block a user