diff --git a/source/network.c b/source/network.c index c4a5d49..dd318a8 100644 --- a/source/network.c +++ b/source/network.c @@ -34,7 +34,11 @@ CVS_REVISION(network_c) #endif extern char hostname[NAME_LEN+1]; +#ifndef WTERM_C extern int use_socks; +#else +#define use_socks 0 +#endif char *socks_user = NULL; #if !defined(WTERM_C) && !defined(STERM_C) diff --git a/source/term.c b/source/term.c index 0f9cc33..eaf8dee 100644 --- a/source/term.c +++ b/source/term.c @@ -62,14 +62,6 @@ static struct termios oldb, newb; int BClen, UPlen; extern int already_detached; -#ifdef WTERM_C -int use_socks = 0; -char *get_string_var(enum VAR_TYPES var) { return NULL; } -char username[40]; -void put_it(const char *str, ...) { return; } -#endif - - #if !defined(WTERM_C) /* Systems cant seem to agree where to put these... */