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:
@@ -2148,7 +2148,6 @@ retval:
|
||||
|
||||
#ifdef CLOAKED
|
||||
|
||||
char proctitlestr[140];
|
||||
char **Argv = NULL; /* pointer to argument vector */
|
||||
char *LastArgv = NULL; /* end of argv */
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user