aboutsummaryrefslogtreecommitdiffstats
path: root/env.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-09-19 15:42:35 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-09-19 15:42:35 +0000
commita2389b61cd8a3344a68cfb0be777a40da7d9bb0b (patch)
tree6257a0de87a3500e5c88e18138e5a8b4a1f65aa6 /env.c
parent576090c8a061f7e183616265d70a8208f73a6d76 (diff)
downloadfetchmail-a2389b61cd8a3344a68cfb0be777a40da7d9bb0b.tar.gz
fetchmail-a2389b61cd8a3344a68cfb0be777a40da7d9bb0b.tar.bz2
fetchmail-a2389b61cd8a3344a68cfb0be777a40da7d9bb0b.zip
Compilation cleanups.
svn path=/trunk/; revision=1374
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;