Clean up a little. Don't need to include fetch.h any more, and I can't

find any consumers of HOSTNAME_MAX.
This commit is contained in:
David E. O'Brien 2002-11-06 09:03:53 +00:00
parent d920cd78f4
commit 242bb95312

View File

@ -23,7 +23,6 @@ __FBSDID("$FreeBSD$");
#include "lib.h"
#include <err.h>
#include <fetch.h>
#include <pwd.h>
#include <time.h>
#include <sys/wait.h>
@ -132,12 +131,6 @@ isURL(const char *fname)
return FALSE;
}
#define HOSTNAME_MAX 64
/*
* Try and fetch a file by URL, returning the directory name for where
* it's unpacked, if successful.
*/
char *
fileFindByPath(const char *base, const char *fname)
{