Remove unnecessary declarations in term.c for wserv builds.

git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@312 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
Kevin Easton
2013-08-12 09:40:59 +00:00
parent ca7f9c6b86
commit 338a8ecd4c
2 changed files with 4 additions and 8 deletions

View File

@@ -34,7 +34,11 @@ CVS_REVISION(network_c)
#endif #endif
extern char hostname[NAME_LEN+1]; extern char hostname[NAME_LEN+1];
#ifndef WTERM_C
extern int use_socks; extern int use_socks;
#else
#define use_socks 0
#endif
char *socks_user = NULL; char *socks_user = NULL;
#if !defined(WTERM_C) && !defined(STERM_C) #if !defined(WTERM_C) && !defined(STERM_C)

View File

@@ -62,14 +62,6 @@ static struct termios oldb, newb;
int BClen, UPlen; int BClen, UPlen;
extern int already_detached; 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) #if !defined(WTERM_C)
/* Systems cant seem to agree where to put these... */ /* Systems cant seem to agree where to put these... */