path: root/edit.h
diff options
authorpowwow@askgustav.com <powwow@askgustav.com>2019-03-18 23:05:26 (GMT)
committerSteve Slaven <bpk@hoopajoo.net>2019-04-23 20:37:05 (GMT)
commit304a722c426f47a461dc88c4493f800c0690b29b (patch)
tree151b974354c0c7ec4e89649a949db32f11b56442 /edit.h
parent7db984561ef8fd0ff9165288324dbc81516113f0 (diff)
remove some non-ANSI C support
Diffstat (limited to 'edit.h')
1 files changed, 40 insertions, 40 deletions
diff --git a/edit.h b/edit.h
index e49cea2..b3b5a50 100644
--- a/edit.h
+++ b/edit.h
@@ -10,9 +10,9 @@ typedef struct {
extern edit_function internal_functions[];
* GH: completion list, stolen from cancan 2.6.3a
- *
+ *
* words[wordindex] is where the next word will go (always empty)
* words[wordindex].prev is last (least interesting)
* words[wordindex].next is 2nd (first to search for completion)
@@ -32,44 +32,44 @@ extern wordnode words[MAX_WORDS];
extern int wordindex;
/* public function declarations */
-void edit_bootstrap __P ((void));
+void edit_bootstrap(void);
-int lookup_edit_name __P ((char *name, char **arg));
-int lookup_edit_function __P ((function_str funct));
-void draw_prompt __P ((void));
-void clear_input_line __P ((int deleteprompt));
-void draw_input_line __P ((void));
-void redraw_line __P ((char *dummy));
-void redraw_line_noprompt __P ((char *dummy));
-void transpose_words __P ((char *dummy));
-void transpose_chars __P ((char *dummy));
-void kill_to_eol __P ((char *dummy));
-void end_of_line __P ((char *dummy));
-void begin_of_line __P ((char *dummy));
-void del_char_right __P ((char *dummy));
-void del_char_left __P ((char *dummy));
-void to_history __P ((char *dummy));
-void put_history __P ((char *str));
-void complete_word __P ((char *dummy));
-void complete_line __P ((char *dummy));
-void put_word __P ((char *s));
-void put_static_word __P ((char *s));
-void set_custom_delimeters __P ((char *s));
-void to_input_line __P ((char *str));
-void clear_line __P ((char *dummy));
-void enter_line __P ((char *dummy));
-void putbackcursor __P ((void));
-void insert_char __P ((char c));
-void next_word __P ((char *dummy));
-void prev_word __P ((char *dummy));
-void del_word_right __P ((char *dummy));
-void del_word_left __P ((char *dummy));
-void upcase_word __P ((char *dummy));
-void downcase_word __P ((char *dummy));
-void prev_line __P ((char *dummy));
-void next_line __P ((char *dummy));
-void prev_char __P ((char *dummy));
-void next_char __P ((char *dummy));
-void key_run_command __P ((char *cmd));
+int lookup_edit_name(char *name, char **arg);
+int lookup_edit_function(function_str funct);
+void draw_prompt(void);
+void clear_input_line(int deleteprompt);
+void draw_input_line(void);
+void redraw_line(char *dummy);
+void redraw_line_noprompt(char *dummy);
+void transpose_words(char *dummy);
+void transpose_chars(char *dummy);
+void kill_to_eol(char *dummy);
+void end_of_line(char *dummy);
+void begin_of_line(char *dummy);
+void del_char_right(char *dummy);
+void del_char_left(char *dummy);
+void to_history(char *dummy);
+void put_history(char *str);
+void complete_word(char *dummy);
+void complete_line(char *dummy);
+void put_word(char *s);
+void put_static_word(char *s);
+void set_custom_delimeters(char *s);
+void to_input_line(char *str);
+void clear_line(char *dummy);
+void enter_line(char *dummy);
+void putbackcursor(void);
+void insert_char(char c);
+void next_word(char *dummy);
+void prev_word(char *dummy);
+void del_word_right(char *dummy);
+void del_word_left(char *dummy);
+void upcase_word(char *dummy);
+void downcase_word(char *dummy);
+void prev_line(char *dummy);
+void next_line(char *dummy);
+void prev_char(char *dummy);
+void next_char(char *dummy);
+void key_run_command(char *cmd);
#endif /* _EDIT_H_ */