чување efef9a1ff419639b3f57e61b35ed87590573748c
родитељ c8dcb1c7507073367e9407cbd92286e4144f1344
Аутор: Страхиња Радић <contact@strahinja.org>
Датум: Thu, 24 Feb 2022 22:04:45 +0100
poe.c: Sort declarations, remove obsolete declarations
Signed-off-by: Страхиња Радић <contact@strahinja.org>
Diffstat:
| M | poe.c | | | 18 | ++++++++---------- |
измењених датотека: 1, додавања: 8(+), брисања: 10(-)
diff --git a/poe.c b/poe.c
@@ -32,21 +32,19 @@ extern const char* prompt_cancel_dirty;
extern const char* prompt_overwrite;
extern const char* program_name;
-int print_error(const int code, const char* msg, ...);
-void overwrite_copy_msgid_callback(struct DrawState* state, struct tb_event* ev);
-void overwrite_paste_callback(struct DrawState* state, struct tb_event* ev);
void cancel_callback(struct DrawState* state, struct tb_event* ev);
-void quit_callback(struct DrawState* state, struct tb_event* ev);
-struct BufferLine* load_info(struct DrawState* state);
-struct BufferLine* load_msgstr(struct DrawState* state);
-void insert_search_char(struct DrawState* state, uint32_t ch);
void goto_msgid(struct DrawState* state, const size_t msgid_number);
+void handle_key_event(struct tb_event* ev, struct DrawState* state);
void insert_char(struct DrawState* state, uint32_t ch);
+void insert_search_char(struct DrawState* state, uint32_t ch);
struct DrawState* join_lines(struct DrawState* state, size_t first_line,
int forward);
-void handle_editbox_key_event(struct tb_event* ev, struct DrawState* state);
-void handle_key_event(struct tb_event* ev, struct DrawState* state);
-void handle_search_key_event(struct tb_event* ev, struct DrawState* state);
+struct BufferLine* load_info(struct DrawState* state);
+struct BufferLine* load_msgstr(struct DrawState* state);
+void overwrite_copy_msgid_callback(struct DrawState* state, struct tb_event* ev);
+void overwrite_paste_callback(struct DrawState* state, struct tb_event* ev);
+int print_error(const int code, const char* msg, ...);
+void quit_callback(struct DrawState* state, struct tb_event* ev);
int
print_error(const int code, const char* msg, ...)