From d7dfcfc5bb3fa6aa01d96a079d4a0bc89cf3f5b0 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Thu, 26 Apr 2012 23:23:01 +0300 Subject: Minor cleanups in debugger. --- cmd.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'cmd.h') diff --git a/cmd.h b/cmd.h index a0c17881..b5f4abfe 100644 --- a/cmd.h +++ b/cmd.h @@ -43,10 +43,10 @@ extern int output_is_tty; extern int input_fd; extern int input_from_tty; extern FILE *out_fp; -extern char *dPrompt; -extern char *commands_Prompt; -extern char *eval_Prompt; -extern char *dgawk_Prompt; +extern char *dbg_prompt; +extern char *commands_prompt; +extern char *eval_prompt; +extern char *dgawk_prompt; enum argtype { D_illegal, @@ -140,7 +140,7 @@ typedef struct cmd_argument { #define a_string value.sval /* type = D_string, D_array, D_subscript or D_variable */ #define a_node value.nodeval /* type = D_node, D_field or D_func */ - int a_count; /* subscript count for D_subscript and D_array */ + int a_count; /* subscript count for D_subscript and D_array */ } CMDARG; typedef int (*Func_cmd)(CMDARG *, int); @@ -169,7 +169,8 @@ extern char *(*read_a_line)(const char *prompt); extern char *read_commands_string(const char *prompt); extern int in_cmd_src(const char *); extern int get_eof_status(void); -extern void push_cmd_src(int fd, int istty, char * (*readfunc)(const char *), int (*closefunc)(int), int cmd, int eofstatus); +extern void push_cmd_src(int fd, int istty, char * (*readfunc)(const char *), + int (*closefunc)(int), int cmd, int eofstatus); extern int pop_cmd_src(void); extern int has_break_or_watch_point(int *pnum, int any); extern int do_list(CMDARG *arg, int cmd); -- cgit v1.2.3