summaryrefslogtreecommitdiff
path: root/cmd.h
diff options
context:
space:
mode:
Diffstat (limited to 'cmd.h')
-rw-r--r--cmd.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/cmd.h b/cmd.h
index 8f8026ae..af6af8d8 100644
--- a/cmd.h
+++ b/cmd.h
@@ -42,10 +42,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,
@@ -139,7 +139,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);
@@ -168,7 +168,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);