diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1997-09-19 15:42:35 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1997-09-19 15:42:35 +0000 |
commit | a2389b61cd8a3344a68cfb0be777a40da7d9bb0b (patch) | |
tree | 6257a0de87a3500e5c88e18138e5a8b4a1f65aa6 /env.c | |
parent | 576090c8a061f7e183616265d70a8208f73a6d76 (diff) | |
download | fetchmail-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.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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; |