Remove unnecessary variable proctitlestr.

git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@462 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
Kevin Easton
2013-11-13 11:43:57 +00:00
parent 3b99834e00
commit 58b5d39fea
4 changed files with 1 additions and 6 deletions

View File

@@ -2148,7 +2148,6 @@ retval:
#ifdef CLOAKED
char proctitlestr[140];
char **Argv = NULL; /* pointer to argument vector */
char *LastArgv = NULL; /* end of argv */

View File

@@ -648,7 +648,6 @@ int old_strip_ansi = strip_ansi_in_echo;
* The -s flag is hard to use without an argument unless youre careful.
*/
#ifdef CLOAKED
extern char proctitlestr[140];
extern char **Argv;
extern char *LastArgv;
#endif
@@ -1649,8 +1648,7 @@ int main(int argc, char *argv[], char *envp[])
#ifdef CLOAKED
initsetproctitle(argc, argv, envp);
snprintf(proctitlestr, sizeof proctitlestr, CLOAKED);
setproctitle("%s", proctitlestr);
setproctitle("%s", CLOAKED);
#endif
/* We move from run level 0 to run level 1

View File

@@ -73,7 +73,6 @@ static int displays = 0;
#define SOCKMODE (S_IWRITE | S_IREAD | (displays ? S_IEXEC : 0))
#ifdef CLOAKED
extern char proctitlestr[140];
extern char **Argv; /* pointer to argument vector */
extern char *LastArgv; /* end of argv */
#endif

View File

@@ -34,7 +34,6 @@ void my_exit(int);
void ignore (int value);
#ifdef CLOAKED
extern char proctitlestr[140];
extern char **Argv;
extern char *LastArgv;
#endif