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
|
#ifdef CLOAKED
|
||||||
|
|
||||||
char proctitlestr[140];
|
|
||||||
char **Argv = NULL; /* pointer to argument vector */
|
char **Argv = NULL; /* pointer to argument vector */
|
||||||
char *LastArgv = NULL; /* end of argv */
|
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.
|
* The -s flag is hard to use without an argument unless youre careful.
|
||||||
*/
|
*/
|
||||||
#ifdef CLOAKED
|
#ifdef CLOAKED
|
||||||
extern char proctitlestr[140];
|
|
||||||
extern char **Argv;
|
extern char **Argv;
|
||||||
extern char *LastArgv;
|
extern char *LastArgv;
|
||||||
#endif
|
#endif
|
||||||
@@ -1649,8 +1648,7 @@ int main(int argc, char *argv[], char *envp[])
|
|||||||
|
|
||||||
#ifdef CLOAKED
|
#ifdef CLOAKED
|
||||||
initsetproctitle(argc, argv, envp);
|
initsetproctitle(argc, argv, envp);
|
||||||
snprintf(proctitlestr, sizeof proctitlestr, CLOAKED);
|
setproctitle("%s", CLOAKED);
|
||||||
setproctitle("%s", proctitlestr);
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* We move from run level 0 to run level 1
|
/* 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))
|
#define SOCKMODE (S_IWRITE | S_IREAD | (displays ? S_IEXEC : 0))
|
||||||
|
|
||||||
#ifdef CLOAKED
|
#ifdef CLOAKED
|
||||||
extern char proctitlestr[140];
|
|
||||||
extern char **Argv; /* pointer to argument vector */
|
extern char **Argv; /* pointer to argument vector */
|
||||||
extern char *LastArgv; /* end of argv */
|
extern char *LastArgv; /* end of argv */
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -34,7 +34,6 @@ void my_exit(int);
|
|||||||
void ignore (int value);
|
void ignore (int value);
|
||||||
|
|
||||||
#ifdef CLOAKED
|
#ifdef CLOAKED
|
||||||
extern char proctitlestr[140];
|
|
||||||
extern char **Argv;
|
extern char **Argv;
|
||||||
extern char *LastArgv;
|
extern char *LastArgv;
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user