diff options
Diffstat (limited to 'bsd-setproctitle.c')
-rw-r--r-- | bsd-setproctitle.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/bsd-setproctitle.c b/bsd-setproctitle.c index 51a642e85..38eca9ad7 100644 --- a/bsd-setproctitle.c +++ b/bsd-setproctitle.c | |||
@@ -38,10 +38,10 @@ | |||
38 | static char rcsid[] = "$OpenBSD: setproctitle.c,v 1.7 1999/02/25 22:10:12 art Exp $"; | 38 | static char rcsid[] = "$OpenBSD: setproctitle.c,v 1.7 1999/02/25 22:10:12 art Exp $"; |
39 | #endif /* LIBC_SCCS and not lint */ | 39 | #endif /* LIBC_SCCS and not lint */ |
40 | 40 | ||
41 | #ifndef HAVE_SETPROCTITLE | ||
42 | |||
43 | #include "includes.h" | 41 | #include "includes.h" |
44 | 42 | ||
43 | #ifndef HAVE_SETPROCTITLE | ||
44 | |||
45 | #define SPT_NONE 0 | 45 | #define SPT_NONE 0 |
46 | #define SPT_PSTAT 1 | 46 | #define SPT_PSTAT 1 |
47 | 47 | ||
@@ -56,11 +56,7 @@ static char rcsid[] = "$OpenBSD: setproctitle.c,v 1.7 1999/02/25 22:10:12 art Ex | |||
56 | 56 | ||
57 | #define MAX_PROCTITLE 2048 | 57 | #define MAX_PROCTITLE 2048 |
58 | 58 | ||
59 | #ifdef HAVE___PROGNAME | ||
60 | extern char *__progname; | 59 | extern char *__progname; |
61 | #else | ||
62 | static const char *__progname = "sshd"; | ||
63 | #endif /* HAVE___PROGNAME */ | ||
64 | 60 | ||
65 | /* | 61 | /* |
66 | * Set Process Title (SPT) defines. Modeled after sendmail's | 62 | * Set Process Title (SPT) defines. Modeled after sendmail's |