links

lynx-like text mode web browser
git clone anongit@rnpnr.xyz:links.git
Log | Files | Refs | Feed | README | LICENSE

Commit: 0273f52f95c55b8b42df3c75312d0f8c826da34a
Parent: a2c4ea594e0803ab56c9efa494856429a11bcb34
Author: 0x766F6964
Date:   Fri, 17 Jul 2020 15:29:28 -0600

bfu.c: remove dead {init,shutdown}_bfu() fns

Diffstat:
Mbfu.c | 3---
Mlinks.h | 3---
Mmain.c | 2--
3 files changed, 0 insertions(+), 8 deletions(-)

diff --git a/bfu.c b/bfu.c @@ -87,9 +87,6 @@ static inline int txtlen(struct terminal *term, unsigned char *s) return strlen((char *)s); } -void init_bfu(void) {} -void shutdown_bfu(void) {} - unsigned char m_bar = 0; static unsigned select_hotkey(struct terminal *term, unsigned char *text, unsigned char *hotkey, unsigned *hotkeys, int n) diff --git a/links.h b/links.h @@ -1812,9 +1812,6 @@ struct memory_list *getml(void *, ...); void add_to_ml(struct memory_list **, ...); void freeml(struct memory_list *); -void init_bfu(void); -void shutdown_bfu(void); - #define DIALOG_LB gf_val(DIALOG_LEFT_BORDER + DIALOG_LEFT_INNER_BORDER + 1, G_DIALOG_LEFT_BORDER + G_DIALOG_VLINE_SPACE + 1 + G_DIALOG_LEFT_INNER_BORDER) #define DIALOG_TB gf_val(DIALOG_TOP_BORDER + DIALOG_TOP_INNER_BORDER + 1, G_DIALOG_TOP_BORDER + G_DIALOG_HLINE_SPACE + 1 + G_DIALOG_TOP_INNER_BORDER) diff --git a/main.c b/main.c @@ -363,7 +363,6 @@ static void initialize_all_subsystems(void) static void initialize_all_subsystems_2(void) { GF(init_dip()); - init_bfu(); GF(init_imgcache()); init_fcache(); GF(init_grview()); @@ -376,7 +375,6 @@ static void terminate_all_subsystems(void) check_bottom_halves(); destroy_all_terminals(); check_bottom_halves(); - shutdown_bfu(); if (!F) free_all_itrms(); release_object(&dump_obj);