aboutsummaryrefslogtreecommitdiffstats
path: root/env.c
diff options
context:
space:
mode:
Diffstat (limited to 'env.c')
-rw-r--r--env.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/env.c b/env.c
index 06f9da67..874a094d 100644
--- a/env.c
+++ b/env.c
@@ -7,6 +7,7 @@
#include "config.h"
#include "fetchmail.h"
#include <stdio.h>
+#include <ctype.h>
#if defined(STDC_HEADERS)
#include <stdlib.h>
#endif
@@ -22,16 +23,13 @@
extern char *getenv(); /* needed on sysV68 R3V7.1. */
-char *user, *home, *fetchmailhost;
-
extern char *program_name;
void envquery(int argc, char **argv)
/* set up basic stuff from the environment (including the rc file name) */
{
- char *tmpdir, tmpbuf[BUFSIZ];
+ char tmpbuf[BUFSIZ];
struct passwd *pw;
- struct query *ctl;
if ((program_name = strrchr(argv[0], '/')) != NULL)
++program_name;