links

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

Commit: 2f8b7ef9dd9b7dacb1e68e8e6174c9963f82d747
Parent: ba73cfa738f6f527f52231f47782732a74381fc2
Author: opask
Date:   Sat,  4 Aug 2018 19:44:09 -0600

remove unused prototypes in links.h, unneeded function in os_dep.c

Diffstat:
Mhttps.c | 9---------
Mlinks.h | 6------
Mos_dep.c | 6------
3 files changed, 0 insertions(+), 21 deletions(-)

diff --git a/https.c b/https.c @@ -96,15 +96,6 @@ links_ssl *getSSL(void) } } #endif - - { - unsigned char *os_pool; - int os_pool_size; - os_seed_random(&os_pool, &os_pool_size); - if (os_pool_size) RAND_add(os_pool, os_pool_size, os_pool_size); - free(os_pool); - } - OPENSSL_init_ssl(0, NULL); ssl_initialized = 1; } diff --git a/links.h b/links.h @@ -372,15 +372,10 @@ DIR *c_opendir(unsigned char *); int setraw(int ctl, int save); void setcooked(int ctl); #endif -void save_gpm_signals(void); -void restore_gpm_signals(void); -void add_gpm_version(unsigned char **s, int *l); int start_thread(void (*)(void *, int), void *, int, int); unsigned char *get_clipboard_text(struct terminal *); void set_clipboard_text(struct terminal *, unsigned char *); int clipboard_support(struct terminal *); -int is_winnt(void); -int get_windows_cp(int cons); void set_window_title(unsigned char *); unsigned char *get_window_title(void); int is_safe_in_shell(unsigned char); @@ -403,7 +398,6 @@ struct open_in_new *get_open_in_new(int); void os_free_clipboard(void); -void os_seed_random(unsigned char **pool, int *pool_size); void os_detach_console(void); /* memory.c */ diff --git a/os_dep.c b/os_dep.c @@ -547,12 +547,6 @@ int can_open_os_shell(int environment) return 1; } -void os_seed_random(unsigned char **pool, int *pool_size) -{ - *pool = NULL; - *pool_size = 0; -} - void os_detach_console(void) { #if !defined(NO_FORK_ON_EXIT)